mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Only send message bundle if not stopped
This commit is contained in:
parent
4ff4801e5c
commit
50ba2cd740
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
|
|||
if (!stopped) {
|
||||
synchronized (lock) {
|
||||
BundleOfEnvelopes current = queueOfBundles.poll();
|
||||
if (current != null) {
|
||||
if (current != null && !stopped) {
|
||||
if (current.getEnvelopes().size() == 1) {
|
||||
protoOutputStream.writeEnvelope(current.getEnvelopes().get(0));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue