mirror of
https://github.com/reactos/reactosdbg.git
synced 2024-11-23 03:39:43 +00:00
Fixed NullReferenceException when closing the form RosDBG/MainWindow.cs
This commit is contained in:
parent
af9999e73d
commit
6e23c44562
@ -401,6 +401,12 @@ namespace RosDBG
|
|||||||
about.ShowDialog(this);
|
about.ShowDialog(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnFormClosing(FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
base.OnFormClosing(e);
|
||||||
|
dockPanel.ActiveDocumentChanged -= dockPanel_ActiveDocumentChanged;
|
||||||
|
}
|
||||||
|
|
||||||
private void dockPanel_ActiveDocumentChanged(object sender, EventArgs e)
|
private void dockPanel_ActiveDocumentChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||||||
// will be increased as well. MSI installers must not be generated with the same Build Number
|
// will be increased as well. MSI installers must not be generated with the same Build Number
|
||||||
// otherwise they won't upgrade the old installation!
|
// otherwise they won't upgrade the old installation!
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.0.23.10")]
|
[assembly: AssemblyVersion("1.0.23.12")]
|
||||||
[assembly: AssemblyFileVersion("1.0.23.10")]
|
[assembly: AssemblyFileVersion("1.0.23.12")]
|
||||||
|
Loading…
Reference in New Issue
Block a user