Commit b27fb643 authored by Max Kellermann's avatar Max Kellermann

client/ClientRead: use Instance::Shutdown()

parent 099455db
......@@ -53,7 +53,7 @@ Client::OnSocketInput(void *data, size_t length)
case CommandResult::KILL:
Close();
partition.instance.event_loop->Break();
partition.instance.Shutdown();
return InputResult::CLOSED;
case CommandResult::FINISH:
......
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