mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-05-07 02:00:21 +08:00
fix memory leak caused by shared plugin instances
This commit is contained in:
@@ -65,7 +65,7 @@ namespace QuickLook
|
||||
return can;
|
||||
});
|
||||
|
||||
return matched ?? DefaultPlugin;
|
||||
return (matched ?? DefaultPlugin).GetType().CreateInstance<IViewer>();
|
||||
}
|
||||
|
||||
private void LoadPlugins()
|
||||
|
||||
Reference in New Issue
Block a user