mirror of
https://github.com/DarthAffe/ScreenCapture.NET.git
synced 2026-11-09 18:36:29 +00:00
Updated vortice; Added try/catch around factory-Dispose
This commit is contained in:
1 parent
ec57728521
commit
6919cf7b60
2 files changed
+2
-2
No files matched your search
@@ -94,7 +94,7 @@ public class DX11ScreenCaptureService : IScreenCaptureService
|
||||
screenCapture.Dispose();
|
||||
_screenCaptures.Clear();
|
||||
|
||||
_factory.Dispose();
|
||||
try { _factory.Dispose(); } catch { /**/ }
|
||||
|
||||
GC.SuppressFinalize(this);
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Vortice.Direct3D11" Version="2.4.2" />
|
||||
<PackageReference Include="Vortice.Direct3D11" Version="3.2.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in new issue
Block a user