event/Loop: set thread to current thread by default
Allows eliminating lots of complexity and workarounds for bogus assertion failures.
This commit is contained in:
@@ -34,7 +34,7 @@ class EventThread final {
|
||||
|
||||
public:
|
||||
EventThread()
|
||||
:thread(BIND_THIS_METHOD(Run)) {}
|
||||
:event_loop(ThreadId::Null()), thread(BIND_THIS_METHOD(Run)) {}
|
||||
|
||||
~EventThread() {
|
||||
Stop();
|
||||
|
||||
Reference in New Issue
Block a user