src: cleanup DestroyParam when Environment exits
Otherwise, this leaks memory if the weak callback is never called.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Otherwise, this leaks memory if the weak callback is never called.
make -j4 test
(UNIX), or vcbuild test
(Windows) passes