Commit 4d6ba047 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 b90a54d4
......@@ -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