mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-10-19 10:07:38 +00:00
remove all destructors
This commit is contained in:
@@ -37,11 +37,6 @@ namespace QuickLook.Plugin.ArchiveViewer
|
||||
IconManager.ClearCache();
|
||||
}
|
||||
|
||||
~ArchiveFileListView()
|
||||
{
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void SetDataContext(object context)
|
||||
{
|
||||
treeGrid.DataContext = context;
|
||||
|
@@ -74,11 +74,6 @@ namespace QuickLook.Plugin.ArchiveViewer
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
~ArchiveInfoPanel()
|
||||
{
|
||||
Dispose();
|
||||
}
|
||||
|
||||
private void BeginLoadArchive(string path)
|
||||
{
|
||||
new Task(() =>
|
||||
|
@@ -62,10 +62,5 @@ namespace QuickLook.Plugin.ArchiveViewer
|
||||
_panel?.Dispose();
|
||||
_panel = null;
|
||||
}
|
||||
|
||||
~Plugin()
|
||||
{
|
||||
Cleanup();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user