stop method
void
stop()
After this the core takes no more events and holds no peers. A transport calls it from its own shutdown.
Implementation
void stop() {
if (_stopped) return;
_stopped = true;
detachAll();
}
After this the core takes no more events and holds no peers. A transport calls it from its own shutdown.
void stop() {
if (_stopped) return;
_stopped = true;
detachAll();
}