2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 83b1cc3d authored by CAMP C++ Builder's avatar CAMP C++ Builder
Browse files

fixed bug in core api: desctructor of Runnable does not account for a missing...

fixed bug in core api: desctructor of Runnable does not account for a missing call to start() before destruction
parent 47cbdf9d
......@@ -43,7 +43,8 @@ namespace campvis {
if (_running)
stop();
delete _thread;
if (_thread)
delete _thread;
}
void Runnable::stop() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment