event/Thread: start the thread in the constructor
This is the proper fix for thee309941646
regression; see commitabc8420697
This commit is contained in:
@@ -28,12 +28,6 @@ class GlobalInit {
|
||||
EventThread io_thread;
|
||||
|
||||
public:
|
||||
GlobalInit() {
|
||||
io_thread.Start();
|
||||
}
|
||||
|
||||
~GlobalInit() = default;
|
||||
|
||||
EventLoop &GetEventLoop() {
|
||||
return io_thread.GetEventLoop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user