mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
chore: 优化注释
This commit is contained in:
parent
e31102b1db
commit
b112bc3dbc
1 changed files with 2 additions and 2 deletions
|
|
@ -127,8 +127,8 @@ bool App::Initialize(const wchar_t* arguments) {
|
|||
// 初始化 XAML 框架。退出时也不要关闭,如果正在播放动画会崩溃。文档中的清空消息队列的做法无用。
|
||||
_windowsXamlManager = Hosting::WindowsXamlManager::InitializeForCurrentThread();
|
||||
|
||||
// CoreDispatcher.RunAsync 存在内存泄露,因此我们始终使用 DispatcherQueue。初始化
|
||||
// WindowsXamlManager 时已经创建 DispatcherQueue。
|
||||
// Win10 中 CoreDispatcher.RunAsync 存在内存泄露,因此我们始终使用 DispatcherQueue。
|
||||
// 初始化 WindowsXamlManager 时已经创建 DispatcherQueue。
|
||||
_dispatcher = winrt::DispatcherQueue::GetForCurrentThread();
|
||||
|
||||
// Win10 中隐藏 DesktopWindowXamlSource 窗口
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue