client/ClientRead: use Instance::Shutdown()

This commit is contained in:
Max Kellermann 2016-03-05 20:19:10 +01:00
parent 099455db25
commit b27fb64317

View File

@ -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: