clear cast interval when casting stops; naming
* fix ipc logs * minWidth 425 So title "WebTorrent (BETA)" doesn't get cut off * clear cast interval when casting stops; naming Fix #300
This commit is contained in:
@@ -207,8 +207,8 @@ function dispatch (action, ...args) {
|
||||
if (action === 'openDevice') {
|
||||
lazyLoadCast().open(args[0] /* deviceType */)
|
||||
}
|
||||
if (action === 'stopCasting') {
|
||||
lazyLoadCast().stopCasting()
|
||||
if (action === 'closeDevice') {
|
||||
lazyLoadCast().close()
|
||||
}
|
||||
if (action === 'setDimensions') {
|
||||
setDimensions(args[0] /* dimensions */)
|
||||
|
||||
Reference in New Issue
Block a user