Reload extension after disconnec
This commit is contained in:
1 parent
77f8f888ea
commit
8bf131b78c
1 file changed
+2
-2
@@ -493,7 +493,7 @@ function startSharing(){
|
||||
socket.on('disconnect', function(){
|
||||
console.log('Disconnected from socket');
|
||||
setDefaults();
|
||||
dispose();
|
||||
chrome.runtime.reload();
|
||||
});
|
||||
|
||||
socket.on('presenterResponse', function(data) {
|
||||
@@ -505,7 +505,7 @@ function startSharing(){
|
||||
socket.on('stopCommunication', function(data) {
|
||||
console.log('stopCommunication');
|
||||
setDefaults();
|
||||
dispose();
|
||||
chrome.runtime.reload();
|
||||
});
|
||||
|
||||
socket.on('iceCandidate', function(data) {
|
||||
|
||||
Reference in new issue
Block a user