SwiftUI-WindowManagement icon indicating copy to clipboard operation
SwiftUI-WindowManagement copied to clipboard

Window not being destroyed

Open longseespace opened this issue 2 years ago • 1 comments

It seems that this causes abandoned memory.

For some reason, when using .register(), closing the window would not destroy it.

https://github.com/Wouter01/SwiftUI-WindowManagement/blob/adbebf5d7df325f3d7bf07dc832e5e162a9003f5/Example/WindowManagementProject/WindowManagementProjectApp.swift#L32

longseespace avatar Jan 12 '24 18:01 longseespace

Sorry for the late reply. You're right that this is causing memory issues. However, I'm personally not using the library anymore, and I don't think it's safe enough for production apps. I will archive this repo

Wouter01 avatar Jan 29 '24 21:01 Wouter01