Fix for segfault on uninitialized state_file
This commit is contained in:
@@ -90,7 +90,7 @@ struct Instance final
|
|||||||
StateFile *state_file;
|
StateFile *state_file;
|
||||||
|
|
||||||
Instance()
|
Instance()
|
||||||
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) {}
|
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)), state_file(nullptr) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initiate shutdown. Wrapper for EventLoop::Break().
|
* Initiate shutdown. Wrapper for EventLoop::Break().
|
||||||
|
Reference in New Issue
Block a user