mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-01 21:17:13 +00:00
PeerGroup: don't try and trigger connections during shutdown
This commit is contained in:
@@ -507,6 +507,7 @@ public class PeerGroup implements TransactionBroadcaster {
|
||||
|
||||
private void triggerConnections() {
|
||||
// Run on a background thread due to the need to potentially retry and back off in the background.
|
||||
if (!executor.isShutdown())
|
||||
executor.execute(triggerConnectionsJob);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user