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

1 file changed

Lines changed: 445 additions & 250 deletions

File tree

0 commit comments

Comments
 (0)