client/ClientRead: use Instance::Shutdown()
This commit is contained in:
parent
099455db25
commit
b27fb64317
@ -53,7 +53,7 @@ Client::OnSocketInput(void *data, size_t length)
|
|||||||
|
|
||||||
case CommandResult::KILL:
|
case CommandResult::KILL:
|
||||||
Close();
|
Close();
|
||||||
partition.instance.event_loop->Break();
|
partition.instance.Shutdown();
|
||||||
return InputResult::CLOSED;
|
return InputResult::CLOSED;
|
||||||
|
|
||||||
case CommandResult::FINISH:
|
case CommandResult::FINISH:
|
||||||
|
Loading…
Reference in New Issue
Block a user