Commit 48cdf91
committed
Avoid registering the strategy listener when it is useless
If both the client and the async client are null, the strategy would never
find any candidates. In such case, it is useless to register it as a
kernel.request listener to prepend itself to the discovery.1 parent 2bcd28d commit 48cdf91
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
| |||
0 commit comments