Skip to content

Commit

Permalink
Try to add the workaround for unhandled exception at twinapi.appcore.…
Browse files Browse the repository at this point in the history
…dll for fixing #400.
  • Loading branch information
MouriNaruto committed Apr 22, 2024
1 parent 2b5fb98 commit 6ee2a49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NanaZip.UI.Modern/App.xaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ namespace winrt::NanaZip::Modern::implementation
{
App::App()
{
// Workaround for unhandled exception at twinapi.appcore.dll
// Fixes: https://github.com/M2Team/NanaZip/issues/400
this->AddRef();
::MileXamlGlobalInitialize();
}

Expand Down

0 comments on commit 6ee2a49

Please sign in to comment.