Commit 8ef727b
committed
Dispose Existing Connection and Thread Pools
Previously, the DefaultConnectionContext did not cache the connection and
thread pools that it used. This meant that new instances of these resources
were created when dispose was called, and the originals were never disposed.
This change caches those connection and thread pools so that they are properly
disposed.
[resolves #815]1 parent dcfb098 commit 8ef727b
File tree
1 file changed
+8
-6
lines changed- cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor
1 file changed
+8
-6
lines changedLines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
0 commit comments