Browse Source

Should fix the segfault at exit

pull/33/head
Meeh 11 years ago
parent
commit
82bd8cc69f
  1. 4
      Queue.h

4
Queue.h

@ -99,6 +99,10 @@ namespace util @@ -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…
Cancel
Save