Open christianbundy opened 4 years ago
I'm running ssb.close() to close my peer, but when this plugin is loaded the process stays open. My current workaround is ssb.lan.stop(); ssb.close() but I think it might be nice to hook ssb.close() similar to other plugins (e.g. SSB-Serve-Blobs (https://github.com/ssbc/ssb-serve-blobs/commit/ff1392871ad4a1d7c46915dd35f545b408ff659a)).
ssb.close()
ssb.lan.stop(); ssb.close()
Agreed!
I'm running
ssb.close()
to close my peer, but when this plugin is loaded the process stays open. My current workaround isssb.lan.stop(); ssb.close()
but I think it might be nice to hookssb.close()
similar to other plugins (e.g. SSB-Serve-Blobs (https://github.com/ssbc/ssb-serve-blobs/commit/ff1392871ad4a1d7c46915dd35f545b408ff659a)).