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