mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-14 18:57:40 +01:00
perf: ♻️ Mirror group shutdown logic
This commit is contained in:
parent
5793c246fa
commit
296e21dfcf
@ -44,7 +44,8 @@ export default {
|
||||
console.log('handleCommand.command', command)
|
||||
|
||||
if (command === 'close') {
|
||||
this.$adb.clearOverlayDisplayDevices(this.device.id)
|
||||
this.handleStop()
|
||||
this.loading = false
|
||||
return false
|
||||
}
|
||||
|
||||
@ -75,10 +76,12 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
this.$adb.clearOverlayDisplayDevices(this.device.id)
|
||||
|
||||
this.handleStop()
|
||||
this.loading = false
|
||||
},
|
||||
handleStop() {
|
||||
this.$adb.clearOverlayDisplayDevices(this.device.id)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user