Replaced erroneous pass-by-value with pass-by-reference in ClientServerTestRunner.hpp that prevented shutting down the server correctly.

This commit is contained in:
Benedikt-Alexander Mokroß 2021-01-04 09:36:55 +01:00
parent 86ae1132ca
commit de2f6cd59c

View File

@ -96,7 +96,7 @@ public:
m_connectionProvider->getProperty("port").toString()->c_str(),
timeout.count());
std::function<bool()> condition = [runConditionForLambda](){
std::function<bool()> condition = [&runConditionForLambda](){
return runConditionForLambda;
};