diff --git a/screenshare/src/screenshareApp.js b/screenshare/src/screenshareApp.js index b687309ccb..2abc151988 100644 --- a/screenshare/src/screenshareApp.js +++ b/screenshare/src/screenshareApp.js @@ -172,6 +172,7 @@ function showSources() { // Stop the localstream and end the tokrok publishing let localStream; +let desktopSharing; function stopSharing() { desktopSharing = false;