mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
Should fix the segfault at exit
This commit is contained in:
parent
670508016b
commit
82bd8cc69f
1 changed files with 4 additions and 0 deletions
4
Queue.h
4
Queue.h
|
@ -99,6 +99,10 @@ namespace util
|
|||
public:
|
||||
|
||||
MsgQueue (): m_Thread (std::bind (&MsgQueue<Msg>::Run, this)) {};
|
||||
void Stop()
|
||||
{
|
||||
m_Thread.detach();
|
||||
}
|
||||
|
||||
private:
|
||||
void Run ()
|
||||
|
|
Loading…
Add table
Reference in a new issue