forked from qt-creator/qt-creator
CmdBridge: Make sure the wait ends when shutting down
Change-Id: Ic56d7bf14246d51c2b729ea54da5541a29fa5e23 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -245,7 +245,7 @@ Client::Client(const Utils::FilePath &remoteCmdBridgePath)
|
||||
Client::~Client()
|
||||
{
|
||||
if (d->thread->isRunning() && exit())
|
||||
d->thread->wait();
|
||||
d->thread->wait(2000);
|
||||
}
|
||||
|
||||
expected_str<QFuture<Environment>> Client::start()
|
||||
|
Reference in New Issue
Block a user