Skip to content

Commit 8b7465c

Browse files
authored
Fix WINUI package crash after diposing Viewport3DX. (helix-toolkit#1927)
1 parent 5d736e1 commit 8b7465c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/HelixToolkit.WinUI/CommonDX/HelixToolkitRenderPanel.cs

-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ private void DestroyPanelNative()
124124
if (panelNativeDesktop != null)
125125
{
126126
panelNativeDesktop.SetSwapChain(IntPtr.Zero);
127-
panelNativeDesktop.Release();
128127
panelNativeDesktop = null;
129128
}
130129
}

0 commit comments

Comments
 (0)