Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatcher.RunIdleAsync never resolves promise #7

Open
ShortDevelopment opened this issue Apr 25, 2022 · 2 comments
Open

Dispatcher.RunIdleAsync never resolves promise #7

ShortDevelopment opened this issue Apr 25, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ShortDevelopment
Copy link
Owner

No description provided.

@ShortDevelopment ShortDevelopment added the bug Something isn't working label Apr 25, 2022
@ShortDevelopment
Copy link
Owner Author

Workaround: Use custom Windows.UI.Core.CoreDispatcherExtensions.RunTaskAsync instead

@ShortDevelopment
Copy link
Owner Author

Uwp call stack
[Native to Managed Transition]	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessInvokeItem(bool * pbInvokeItemProcessed) Line 1263	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessMessage(bool bDrainQueue, bool * pbWindowMessagesProcessed, bool *pbInvokeItemProcessed) Line 364	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::WaitAndProcessMessagesInternal(bool bRunAlwaysOnce, void * hEventWait) Line 1950	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessEvents(Windows::UI::Core::CoreProcessEventsOption options) Line 596	 	 	 
Windows.UI.Xaml.dll!CJupiterWindow::RunCoreWindowMessageLoop() Line 1234	 	 	 
[Inline Frame] Windows.UI.Xaml.dll!CJupiterControl::RunMessageLoop() Line 1065	 	 	 
Windows.UI.Xaml.dll!DirectUI::DXamlCore::RunMessageLoop() Line 2464	 	 	 
twinapi.appcore.dll!00007ffebf125c5a()	 	 	 
twinapi.appcore.dll!00007ffebf0de65f()	 	 	 
SHCore.dll!00007ffeccbdbf69()	 	 	 
kernel32.dll!00007ffecc957034()	 	 	 
ntdll.dll!00007ffeccd82651()	
Win32 call stack
[Native to Managed Transition]	 	 	 
[Inline Frame] Windows.UI.dll!Windows::UI::Core::CDispatcher::EnqueueAsyncWork::__l16::<lambda_59517943c03487243f9bea31c6c1a784>::operator()() Line 908	 	 	 
Windows.UI.dll!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_59517943c03487243f9bea31c6c1a784>,-1>::Invoke() Line 245	 	 	 
CoreMessaging.dll!Windows::System::DispatcherQueue::DeferInvokeCallback()	 	 	 
CoreMessaging.dll!Microsoft__CoreUI__Dispatch__TimeoutHandler$CallbackThunk(class System::Delegate *)	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch()	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch()	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop()	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch()	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::UserAdapter_DoWork()	 	 	 
CoreMessaging.dll!Microsoft::CoreUI::Dispatch::UserAdapter_WindowProc()	 	 	 
user32.dll!UserCallWinProcCheckWow()	 	 	 
user32.dll!DispatchMessageWorker()	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessMessage(bool bDrainQueue, bool * pbWindowMessagesProcessed, bool * pbInvokeItemProcessed) Line 320	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::WaitAndProcessMessagesInternal(bool bRunAlwaysOnce, void * hEventWait) Line 1950	 	 	 
Windows.UI.dll!Windows::UI::Core::CDispatcher::ProcessEvents(Windows::UI::Core::CoreProcessEventsOption options) Line 596	 	 	 
[Managed to Native Transition]	 	 	 
ShortDev.Uwp.FullTrust.dll!ShortDev.Uwp.FullTrust.Core.Xaml.XamlApplicationWrapper.Run<VBAudioRouter.App, VBAudioRouter.WelcomePage>(System.Action callback)	 	 	 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant