mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fix shutdown
This commit is contained in:
parent
5d7a089ff8
commit
b564611697
1 changed files with 9 additions and 10 deletions
|
@ -262,6 +262,15 @@ namespace BeefPerf
|
|||
{
|
||||
base.Stop();
|
||||
mListenSocket.Close();
|
||||
|
||||
Widget.RemoveAndDelete(mWorkspacePanel);
|
||||
mWorkspacePanel = null;
|
||||
Widget.RemoveAndDelete(mBoard);
|
||||
mBoard = null;
|
||||
Widget.RemoveAndDelete(mProfilePanel);
|
||||
mProfilePanel = null;
|
||||
Widget.RemoveAndDelete(mFindPanel);
|
||||
mFindPanel = null;
|
||||
}
|
||||
|
||||
void ShowWorkspacePanel()
|
||||
|
@ -512,16 +521,6 @@ namespace BeefPerf
|
|||
public override void Shutdown()
|
||||
{
|
||||
base.Shutdown();
|
||||
|
||||
Widget.RemoveAndDelete(mWorkspacePanel);
|
||||
mWorkspacePanel = null;
|
||||
Widget.RemoveAndDelete(mBoard);
|
||||
mBoard = null;
|
||||
Widget.RemoveAndDelete(mProfilePanel);
|
||||
mProfilePanel = null;
|
||||
Widget.RemoveAndDelete(mFindPanel);
|
||||
mFindPanel = null;
|
||||
|
||||
mShutdownEvent.Set(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue