mirror of
https://github.com/DarthAffe/ScreenCapture.NET.git
synced 2025-12-12 13:28:35 +00:00
Updated vortice; Added try/catch around factory-Dispose
This commit is contained in:
parent
ec57728521
commit
6919cf7b60
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user