Commit 8f196db7 authored by hawken's avatar hawken

Fix for segfault on uninitialized state_file

parent d0302d1b
......@@ -90,7 +90,7 @@ struct Instance final
StateFile *state_file;
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().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment