Skip to content

Commit 87cbe71

Browse files
committed
Correctly reset roomid on close to make reconnect work properly again.
1 parent 240d821 commit 87cbe71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/js/mediastream/connector.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ define(['jquery', 'underscore', 'ua-parser'], function($, _, uaparser) {
100100
Connector.prototype.close = function() {
101101

102102
this.connected = false;
103+
this.roomid = null;
103104
if (this.conn) {
104105
var conn = this.conn;
105106
this.conn = null;

0 commit comments

Comments
 (0)