mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 00:16:57 +08:00
fix shudown
This commit is contained in:
@@ -6,6 +6,7 @@ from app.utils.system import SystemUtils
|
||||
|
||||
import os
|
||||
|
||||
|
||||
class DisplayHelper(metaclass=Singleton):
|
||||
_display: Display = None
|
||||
|
||||
@@ -20,4 +21,7 @@ class DisplayHelper(metaclass=Singleton):
|
||||
|
||||
def stop(self):
|
||||
if self._display:
|
||||
logger.info("正在停止虚拟显示...")
|
||||
self._display.stop()
|
||||
logger.info("虚拟显示已停止")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user