mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2025-01-05 17:42:23 +08:00
Replaced erroneous pass-by-value with pass-by-reference in ClientServerTestRunner.hpp that prevented shutting down the server correctly.
This commit is contained in:
parent
86ae1132ca
commit
de2f6cd59c
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user