Skip to content

Wpf: Fix memory leak with Screen.GetImage() #1301

Wpf: Fix memory leak with Screen.GetImage()

Wpf: Fix memory leak with Screen.GetImage() #1301

Triggered via pull request November 15, 2024 19:37
Status Success
Total duration 4m 38s
Artifacts 5

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L14
'Display.DeviceManager' is obsolete
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L14
'DeviceManager.ClientPointer' is obsolete
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L14
'Device.Grab(Window, GrabOwnership, bool, EventMask, Cursor, uint)' is obsolete
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L42
'Display.DeviceManager' is obsolete
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L42
'DeviceManager.ClientPointer' is obsolete
build-windows: src/Eto.Gtk/CustomControls/WindowExtensions.cs#L42
'Device.Ungrab(uint)' is obsolete
build-windows: src/Eto.Gtk/Drawing/IconHandler.cs#L19
'IconSet.IconSet(Pixbuf)' is obsolete
build-windows: src/Eto.Gtk/Drawing/IconHandler.cs#L33
'IconSet.IconSet(Pixbuf)' is obsolete
build-windows: src/Eto.Gtk/Drawing/IconHandler.cs#L106
'Image.SetFromIconSet(IconSet, IconSize)' is obsolete
build-windows: src/Eto.Gtk/Drawing/BitmapHandler.cs#L204
'IconSet.IconSet(Pixbuf)' is obsolete
build-mac
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
build-mac: src/Eto.Mac/Forms/OpenWithDialogHandler.cs#L10
'NSWindow.ReleasedWhenClosed' is obsolete: 'Call 'ReleaseWhenClosed ()' instead.'
build-mac: src/Eto.Mac/Forms/MacWindow.cs#L548
'NSWindow.ReleasedWhenClosed' is obsolete: 'Call 'ReleaseWhenClosed ()' instead.'
build-mac: src/Eto.Mac/Forms/MacView.cs#L1364
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.Item' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/MacView.cs#L1364
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.Content' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/ToolBar/ToolBarHandler.cs#L107
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSToolbar.NSToolbarCustomizeToolbarItemIdentifier.get' is obsoleted on: 'macOS/OSX' 11.0 and later (Ignored by system.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/ToolBar/ToolBarHandler.cs#L107
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSToolbar.NSToolbarCustomizeToolbarItemIdentifier' is obsoleted on: 'macOS/OSX' 11.0 and later (Ignored by system.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/ToolBar/ToolBarHandler.cs#L104
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSToolbar.NSToolbarSeparatorItemIdentifier.get' is obsoleted on: 'macOS/OSX' 11.0 and later (Ignored by system.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/ToolBar/ToolBarHandler.cs#L104
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSToolbar.NSToolbarSeparatorItemIdentifier' is obsoleted on: 'macOS/OSX' 11.0 and later (Ignored by system.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
build-mac: src/Eto.Mac/Forms/ApplicationHandler.cs#L122
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSTask.LaunchFromPath(string, string[])' is obsoleted on: 'macOS/OSX' 10.15 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)

Artifacts

Produced during runtime
Name Size
nuget-mac
471 KB
nuget-win
6.09 MB
samples-win
115 MB
test-mac
82.8 MB
test-win
42.9 MB