No web font resource extraction
Some checks failed
MSBuild / build (push) Has been cancelled
MSBuild / publish (push) Has been cancelled

Fix WebView2 resources not being released in FontViewer
This commit is contained in:
ema
2025-06-24 02:05:04 +08:00
parent 2c330a0136
commit 1c1f6d55e7
4 changed files with 239 additions and 127 deletions

View File

@@ -15,11 +15,12 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using QuickLook.Common.Plugin;
using System;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Threading;
using QuickLook.Common.Plugin;
namespace QuickLook.Plugin.HtmlViewer;
@@ -63,6 +64,8 @@ public class Plugin : IViewer
public void Cleanup()
{
GC.SuppressFinalize(this);
_panel?.Dispose();
_panel = null;
}