mirror of
https://github.com/DarthAffe/ScreenCapture.NET.git
synced 2025-12-12 13:28:35 +00:00
Compare commits
3 Commits
762e2fefe0
...
f5881432fe
| Author | SHA1 | Date | |
|---|---|---|---|
| f5881432fe | |||
| aa643f1fe3 | |||
| 0aea8c675b |
@ -438,7 +438,13 @@ public sealed class DX11ScreenCapture : AbstractScreenCapture<ColorBGRA>
|
|||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
|
|
||||||
lock (_captureLock)
|
lock (_captureLock)
|
||||||
|
{
|
||||||
|
foreach (ZoneTextures textures in _textures.Values)
|
||||||
|
textures.Dispose();
|
||||||
|
_textures.Clear();
|
||||||
|
|
||||||
DisposeDX();
|
DisposeDX();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DisposeDX()
|
private void DisposeDX()
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
||||||
<Description>DirectX 11 based Screen-Capturing using the Desktop Duplication API</Description>
|
<Description>DirectX 11 based Screen-Capturing using the Desktop Duplication API</Description>
|
||||||
<Summary>DirectX 11 based Screen-Capturing using the Desktop Duplication API</Summary>
|
<Summary>DirectX 11 based Screen-Capturing using the Desktop Duplication API</Summary>
|
||||||
<Copyright>Copyright © Darth Affe 2023</Copyright>
|
<Copyright>Copyright © Darth Affe 2024</Copyright>
|
||||||
<PackageCopyright>Copyright © Darth Affe 2023</PackageCopyright>
|
<PackageCopyright>Copyright © Darth Affe 2024</PackageCopyright>
|
||||||
<PackageIcon>icon.png</PackageIcon>
|
<PackageIcon>icon.png</PackageIcon>
|
||||||
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
||||||
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
||||||
@ -27,12 +27,12 @@
|
|||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
|
|
||||||
<PackageReleaseNotes>
|
<PackageReleaseNotes>
|
||||||
- Added .net8 build-target
|
- Fixed a memory-leak when disposing the ScreenCapture
|
||||||
</PackageReleaseNotes>
|
</PackageReleaseNotes>
|
||||||
|
|
||||||
<Version>2.0.3</Version>
|
<Version>2.0.4</Version>
|
||||||
<AssemblyVersion>2.0.3</AssemblyVersion>
|
<AssemblyVersion>2.0.4</AssemblyVersion>
|
||||||
<FileVersion>2.0.3</FileVersion>
|
<FileVersion>2.0.4</FileVersion>
|
||||||
|
|
||||||
<OutputPath>..\bin\</OutputPath>
|
<OutputPath>..\bin\</OutputPath>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
||||||
<Description>DirectX 9 based Screen-Capturing</Description>
|
<Description>DirectX 9 based Screen-Capturing</Description>
|
||||||
<Summary>DirectX 9 based Screen-Capturing. Use DX11 if possible!</Summary>
|
<Summary>DirectX 9 based Screen-Capturing. Use DX11 if possible!</Summary>
|
||||||
<Copyright>Copyright © Darth Affe 2023</Copyright>
|
<Copyright>Copyright © Darth Affe 2024</Copyright>
|
||||||
<PackageCopyright>Copyright © Darth Affe 2023</PackageCopyright>
|
<PackageCopyright>Copyright © Darth Affe 2024</PackageCopyright>
|
||||||
<PackageIcon>icon.png</PackageIcon>
|
<PackageIcon>icon.png</PackageIcon>
|
||||||
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
||||||
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
||||||
@ -27,12 +27,11 @@
|
|||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
|
|
||||||
<PackageReleaseNotes>
|
<PackageReleaseNotes>
|
||||||
- Added .net8 build-target
|
|
||||||
</PackageReleaseNotes>
|
</PackageReleaseNotes>
|
||||||
|
|
||||||
<Version>2.0.3</Version>
|
<Version>2.0.4</Version>
|
||||||
<AssemblyVersion>2.0.3</AssemblyVersion>
|
<AssemblyVersion>2.0.4</AssemblyVersion>
|
||||||
<FileVersion>2.0.3</FileVersion>
|
<FileVersion>2.0.4</FileVersion>
|
||||||
|
|
||||||
<OutputPath>..\bin\</OutputPath>
|
<OutputPath>..\bin\</OutputPath>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
|||||||
@ -17,8 +17,8 @@
|
|||||||
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
||||||
<Description>libX11 based Screen-Capturing</Description>
|
<Description>libX11 based Screen-Capturing</Description>
|
||||||
<Summary>libX11 based Screen-Capturing</Summary>
|
<Summary>libX11 based Screen-Capturing</Summary>
|
||||||
<Copyright>Copyright © Darth Affe 2023</Copyright>
|
<Copyright>Copyright © Darth Affe 2024</Copyright>
|
||||||
<PackageCopyright>Copyright © Darth Affe 2023</PackageCopyright>
|
<PackageCopyright>Copyright © Darth Affe 2024</PackageCopyright>
|
||||||
<PackageIcon>icon.png</PackageIcon>
|
<PackageIcon>icon.png</PackageIcon>
|
||||||
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
||||||
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
||||||
@ -27,12 +27,11 @@
|
|||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
|
|
||||||
<PackageReleaseNotes>
|
<PackageReleaseNotes>
|
||||||
- Added .net8 build-target
|
|
||||||
</PackageReleaseNotes>
|
</PackageReleaseNotes>
|
||||||
|
|
||||||
<Version>2.0.3</Version>
|
<Version>2.0.4</Version>
|
||||||
<AssemblyVersion>2.0.3</AssemblyVersion>
|
<AssemblyVersion>2.0.4</AssemblyVersion>
|
||||||
<FileVersion>2.0.3</FileVersion>
|
<FileVersion>2.0.4</FileVersion>
|
||||||
|
|
||||||
<OutputPath>..\bin\</OutputPath>
|
<OutputPath>..\bin\</OutputPath>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
|||||||
@ -16,8 +16,8 @@
|
|||||||
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
<RootNamespace>ScreenCapture.NET</RootNamespace>
|
||||||
<Description>Core functionality for Screen-Capturing</Description>
|
<Description>Core functionality for Screen-Capturing</Description>
|
||||||
<Summary>Base package for ScreenCapture.NET projects</Summary>
|
<Summary>Base package for ScreenCapture.NET projects</Summary>
|
||||||
<Copyright>Copyright © Darth Affe 2023</Copyright>
|
<Copyright>Copyright © Darth Affe 2024</Copyright>
|
||||||
<PackageCopyright>Copyright © Darth Affe 2023</PackageCopyright>
|
<PackageCopyright>Copyright © Darth Affe 2024</PackageCopyright>
|
||||||
<PackageIcon>icon.png</PackageIcon>
|
<PackageIcon>icon.png</PackageIcon>
|
||||||
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/DarthAffe/ScreenCapture.NET</PackageProjectUrl>
|
||||||
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
|
||||||
@ -26,13 +26,11 @@
|
|||||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
|
|
||||||
<PackageReleaseNotes>
|
<PackageReleaseNotes>
|
||||||
- Added .net8 build-target
|
|
||||||
- Fixed an issue in ImageRow.ToArray (and indirect Image.ToArray) that caused the resulting data to be weirdly interlaced
|
|
||||||
</PackageReleaseNotes>
|
</PackageReleaseNotes>
|
||||||
|
|
||||||
<Version>2.0.3</Version>
|
<Version>2.0.4</Version>
|
||||||
<AssemblyVersion>2.0.3</AssemblyVersion>
|
<AssemblyVersion>2.0.4</AssemblyVersion>
|
||||||
<FileVersion>2.0.3</FileVersion>
|
<FileVersion>2.0.4</FileVersion>
|
||||||
|
|
||||||
<OutputPath>..\bin\</OutputPath>
|
<OutputPath>..\bin\</OutputPath>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user