We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a87e0 commit c4e3cf2Copy full SHA for c4e3cf2
1 file changed
src/Codebreaker.Uno/CodebreakerUno/Views/Pages/GamePage.xaml.cs
@@ -15,6 +15,8 @@ public GamePage()
15
{
16
ViewModel = App.Current.GetService<GamePageViewModel>();
17
InitializeComponent();
18
+ WeakReferenceMessenger.Default.Register(this);
19
+ WeakReferenceMessenger.Default.UnregisterAllOnUnloaded(this);
20
}
21
22
public GamePageViewModel ViewModel { get; }
0 commit comments