stop method
Stops this worker.
Implementation
@override
void stop() {
if (!isStopped) {
channelLogger?.d('Stop worker');
_stats.stop();
_openChannel = null;
_channel?.close();
_channel = null;
}
}
Stops this worker.
@override
void stop() {
if (!isStopped) {
channelLogger?.d('Stop worker');
_stats.stop();
_openChannel = null;
_channel?.close();
_channel = null;
}
}