mirror of https://github.com/rancher/ui.git
Fix stats reconnect on availability change (rancher/rancher#2055)
This commit is contained in:
parent
d162aaf67c
commit
b9512b987a
|
|
@ -92,6 +92,7 @@ export default Ember.Object.extend(Ember.Evented, {
|
||||||
if ( socket )
|
if ( socket )
|
||||||
{
|
{
|
||||||
socket.disconnect();
|
socket.disconnect();
|
||||||
|
this.set('socket', null);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue