Skip to content

Commit 1f40084

Browse files
committed
Refactor global object storage to prevent cleanup issues
Replaces static global containers with heap-allocated instances via template function to avoid destruction order problems at program exit. Adds proper cleanup of event listeners in destroy functions and fixes shared_ptr management to use global storage instead of creating new instances.
1 parent bb53282 commit 1f40084

File tree

1 file changed

+445
-250
lines changed

1 file changed

+445
-250
lines changed

0 commit comments

Comments
 (0)