fix disconnect sdb in connectionPlugin
authorhyunsik.noh <hyunsik.noh@samsung.com>
Mon, 21 Nov 2011 06:08:48 +0000 (15:08 +0900)
committerhyunsik.noh <hyunsik.noh@samsung.com>
Mon, 21 Nov 2011 06:08:48 +0000 (15:08 +0900)
com.samsung.slp.common.connection/src/com/samsung/slp/common/connection/ConnectionPlugin.java

index 70ef367..68f6231 100644 (file)
@@ -88,8 +88,7 @@ public class ConnectionPlugin extends AbstractUIPlugin {
         */
        public void stop(BundleContext context) throws Exception {
                plugin = null;
-               if( SmartDevelopmentBridge.getBridge() != null )
-                       SmartDevelopmentBridge.getBridge().terminate();
+               SmartDevelopmentBridge.disconnectBridge();
                super.stop(context);
        }