Reload extension after disconnec
This commit is contained in:
parent
77f8f888ea
commit
8bf131b78c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user