moved unregistering to source from media cache to release callback instead of source destruction callback.
add explicit cleaning of media cache on a shutdown.
How Has This Been Tested?
launch SLD many times and check that there is no crash on shutdown.
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] The code has been tested.
[x] All commit messages are properly formatted and commits squashed where appropriate.
[x] I have included updates to all appropriate documentation.
Description
Motivation and Context
moved unregistering to source from media cache to release callback instead of source destruction callback. add explicit cleaning of media cache on a shutdown.
How Has This Been Tested?
launch SLD many times and check that there is no crash on shutdown.
Types of changes
Checklist: