Add comment why protocol list uses WeakReference
Change-Id: I997933cbf1bcae94a6edd9db58c25ec1bb96445f
This commit is contained in:
parent
d5bcf199c7
commit
7092803ad2
|
@ -76,6 +76,7 @@ public enum Operation {
|
|||
PUSH;
|
||||
}
|
||||
|
||||
// Use weak references to enable unloading dynamically loaded protocols
|
||||
private static final List<WeakReference<TransportProtocol>> protocols =
|
||||
new CopyOnWriteArrayList<>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue