AuburnSounds / AuburnSounds/Dplug
State of the leaks
- Dominant language
- D
- Stars
- 564
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
```
on Windows => some leaks reported by Dr Memory and Inspector
On Mac => we leak some resources (shared lib handles, cocoa classes even) mainly because pragma(crt_destructor) didn't exist back then. All should be reclaimed when the host program dies. Even pragma(crt_destructor) is only called when the host program dies and there is no real way to do it otherwise that I know of.(modifié)
On Linux => I don't know, probably something similar to Mac?
to be explicit on Posix I know no methods of cleaning up a global variable when a plugin is unloaded, vs when the hosts dies. Because the dynlib is NOT unloaded from memory when you dlclose it.
```
Contributor guide
Research direction
No files, tests, or entry points are identified. Start by reproducing the reported Windows leaks with Dr Memory and Inspector, then compare resource cleanup on macOS and Linux. Done means the cross-platform cleanup behavior is understood and the reported leaks are addressed or their limitations are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, macos
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100