diff options
author | Austin Kirk <askirk@umich.edu> | 2017-02-08 16:08:09 -0500 |
---|---|---|
committer | Austin Kirk <askirk@umich.edu> | 2017-02-08 16:08:09 -0500 |
commit | b8389eef3b49f3ab8d950ed60cd2d22ac064e572 (patch) | |
tree | 138719665b7cd91fed281a87d0f7519c92d6ff7e | |
parent | 6efccbf9766853c9864984b692d2d48088c37fe5 (diff) | |
download | sdl_android-bugfix/issue_386.tar.gz |
Adding brackets for IFbugfix/issue_386
-rw-r--r-- | sdl_android_lib/src/com/smartdevicelink/proxy/SdlProxyBase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sdl_android_lib/src/com/smartdevicelink/proxy/SdlProxyBase.java b/sdl_android_lib/src/com/smartdevicelink/proxy/SdlProxyBase.java index 84f2a2892..7678eaaa6 100644 --- a/sdl_android_lib/src/com/smartdevicelink/proxy/SdlProxyBase.java +++ b/sdl_android_lib/src/com/smartdevicelink/proxy/SdlProxyBase.java @@ -1316,10 +1316,12 @@ public abstract class SdlProxyBase<proxyListenerType extends IProxyListenerBase> }
}
- if(rpcResponseListeners != null)
+ if(rpcResponseListeners != null){
rpcResponseListeners.clear();
- if(rpcNotificationListeners != null)
+ }
+ if(rpcNotificationListeners != null){
rpcNotificationListeners.clear(); //TODO make sure we want to clear this
+ }
// Clean up SDL Connection
synchronized(CONNECTION_REFERENCE_LOCK) {
|