mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +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)
|
||||
return false;
|
||||
running = false;
|
||||
bool ret = false;
|
||||
if (OpenThreads::Thread::CurrentThread() == this) {
|
||||
cancel();
|
||||
bool ret = (OpenThreads::Thread::join() == 0);
|
||||
ret = (OpenThreads::Thread::join() == 0);
|
||||
}
|
||||
StopAll();
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user