Add bus connexion name for disconnect signal identifier.
authorLuc Yriarte <luc.yriarte@intel.com>
Mon, 28 Jan 2013 10:15:14 +0000 (11:15 +0100)
committerLuc Yriarte <luc.yriarte@intel.com>
Mon, 28 Jan 2013 10:15:14 +0000 (11:15 +0100)
fixes bug introduced by 9ca7c29b31f697ce7151f840b832aeafae0c3392

cloudeebus/cloudeebus.js

index 1d41138..8ad8cd4 100644 (file)
@@ -327,7 +327,7 @@ cloudeebus.ProxyObject.prototype.connectToSignal = function(ifName, signal, succ
 
 cloudeebus.ProxyObject.prototype.disconnectSignal = function(ifName, signal) {
        try {
-               this.wampSession.unsubscribe(this.busName + "#" + this.objectPath + "#" + ifName + "#" + signal);
+               this.wampSession.unsubscribe(this.busConnection.name + "#" + this.busName + "#" + this.objectPath + "#" + ifName + "#" + signal);
        }
        catch (e) {
                cloudeebus.log("Unsubscribe error: " + e);