From dee30cc86d46ee64c0ae54c9be4223af6b2dc1a8 Mon Sep 17 00:00:00 2001 From: Rcmcpe Date: Sat, 23 May 2020 22:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=87=E6=97=A9Dispose?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84AccessViolationException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Arknights Automation Library/UI.cs | 3 +-- ImageLocator | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Arknights Automation Library/UI.cs b/Arknights Automation Library/UI.cs index 89c1c3d..588e323 100644 --- a/Arknights Automation Library/UI.cs +++ b/Arknights Automation Library/UI.cs @@ -16,8 +16,7 @@ public class UI : IDisposable private readonly Adb _adb; private readonly Assets _assets = new Assets(); - private readonly FMLocator _loc = new FMLocator(new Feature2DInfo(Feature2Ds.Sift)) - {CacheDir = "Assets\\Cache"}; + private readonly FMLocator _loc = new FMLocator(new Feature2DInfo(Feature2Ds.Sift), "Assets\\Cache"); public UI(string adbPath) { diff --git a/ImageLocator b/ImageLocator index 89b4a85..f2b441a 160000 --- a/ImageLocator +++ b/ImageLocator @@ -1 +1 @@ -Subproject commit 89b4a85d8fb01d90c80236b362d1571551814fdf +Subproject commit f2b441a46eaf912522c2a7346cef695101610e13