terminate()¶
- Client.terminate()¶
Terminate the client by shutting down workers.
This method does the opposite of
initialize(). It will stop the dispatcher and shut down updates and download workers.- Parameters:
clear_handlers (
bool, optional) – Clear the already existing handlers on restart the client. Default to True.- Raises:
ConnectionError – In case you try to terminate a client that is already terminated.