Open longseespace opened 6 months ago
It seems that this causes abandoned memory.
For some reason, when using .register(), closing the window would not destroy it.
.register()
https://github.com/Wouter01/SwiftUI-WindowManagement/blob/adbebf5d7df325f3d7bf07dc832e5e162a9003f5/Example/WindowManagementProject/WindowManagementProjectApp.swift#L32
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
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