Fix stats reconnect on availability change (rancher/rancher#2055)

This commit is contained in:
Vincent Fiduccia 2015-09-17 16:22:47 -07:00
parent d162aaf67c
commit b9512b987a
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ export default Ember.Object.extend(Ember.Evented, {
if ( socket )
{
socket.disconnect();
this.set('socket', null);
}
},