0
Windows 스토어에 UWP 앱이 있습니다.스토어 대시 보드에서 일부 마법이 발동했습니다.
일반적으로 HockeyApp에서 ~ 50 개의 충돌이 발생하고 Windows Store 건강 대시 보드에서 ~ 500 개의 충돌이 발생합니다.
STOWED_EXCEPTION_System.ArgumentException_80070057
Frame Image Function Offset
0 SharedLibrary System::Delegate.InitializeClosedInstance 0x26
1 SharedLibrary System::Action.ConstructClosedInstanceDelegate 0x20
2 XXX.dll XXX::Platform::Uwp::Xaml::XamlApp.OnInitialize 0x301
내 코드는 내가 반대하는 참조가 null의 이해 구현 here에 따르면
public class XamlApp : Application
{
private Page _page;
protected virtual void OnInitialize(ActivationKind activationKind, ApplicationExecutionState previouState)
{
if (_page == null)
{
_page = _pageCreator();
_page.Loaded += PageOnLoaded;
Current.Suspending += Current_Suspending;
Window.Current.CoreWindow.VisibilityChanged += CurrentOnVisibilityChanged;
Window.Current.Content = _page;
}
else
{
Game.Marshal(Game.Resume);
}
}
// ....
}
매우 간단합니다. 문제는 어떻게 될 수 있는가? GC의 버그 또는 런타임의 어딘가에있는 것 같습니다.
아이디어가 있으십니까?