mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
try fix segfault with --enable-cleanup
Origin commit data
------------------
Commit: 76530e2c05
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-03-13 (Mon, 13 Mar 2017)
This commit is contained in:
@@ -264,8 +264,11 @@ bool CStreamManager::Stop()
|
|||||||
if (!running)
|
if (!running)
|
||||||
return false;
|
return false;
|
||||||
running = false;
|
running = false;
|
||||||
|
bool ret = false;
|
||||||
|
if (OpenThreads::Thread::CurrentThread() == this) {
|
||||||
cancel();
|
cancel();
|
||||||
bool ret = (OpenThreads::Thread::join() == 0);
|
ret = (OpenThreads::Thread::join() == 0);
|
||||||
|
}
|
||||||
StopAll();
|
StopAll();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user