We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da97278 commit e9e70f5Copy full SHA for e9e70f5
2 files changed
.vscode/settings.json
@@ -2,5 +2,5 @@
2
"cmake.sourceDirectory": "E:/project/pure_live/windows",
3
"cmake.configureOnOpen": true,
4
"cmake.ignoreCMakeListsMissing": true,
5
- "dart.flutterSdkPath": ".fvm/versions/3.38.3"
+ "dart.flutterSdkPath": "F:/flutter-sdk/bin"
6
}
lib/main.dart
@@ -36,7 +36,10 @@ class _MyAppState extends State<MyApp> with DesktopWindowMixin {
36
DesktopManager.initializeListeners(this);
37
38
initShareM3uState();
39
- initGlopalPlayer();
+ // 延迟初始化, 防止出现闪退
40
+ Future.delayed(Duration(seconds: 3)).then((value) async {
41
+ await initGlopalPlayer();
42
+ });
43
44
45
Future<void> initGlopalPlayer() async {
0 commit comments