8000 Remove WorkPool memory leak · panchenko/rabbitmq-java-client@3291399 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3291399

Browse files
author
Zack
committed
Remove WorkPool memory leak
1 parent d95bc83 commit 3291399

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/rabbitmq/client/impl/WorkPool.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public void unregisterKey(K key) {
123123
this.pool.remove(key);
124124
this.ready.remove(key);
125125
this.inProgress.remove(key);
126+
this.unlimited.remove(key);
126127
}
127128
}
128129

@@ -134,6 +135,7 @@ public void unregisterAllKeys() {
134135
this.pool.clear();
135136
this.ready.clear();
136137
this.inProgress.clear();
138+
this.unlimited.clear();
137139
}
138140
}
139141

0 commit comments

Comments
 (0)
0