[bisq-network/bisq] Added graceful shutdown hook (#4047)

Christoph Atteneder notifications at github.com
Fri Mar 27 09:43:54 UTC 2020


@ripcurlx commented on this pull request.



> @@ -187,6 +187,7 @@ private BooleanProperty torNetworkNodeShutDown() {
                 long ts = System.currentTimeMillis();
                 log.debug("Shutdown torNetworkNode");
                 try {
+                    if (tor == null) tor = Tor.getDefault();

NIT: I think we decided at some point not to use conditionals within one line anymore

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4047#pullrequestreview-382707319
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200327/cc7eeeaf/attachment.html>


More information about the bisq-github mailing list