[sr-dev] git:master: core: at shutdown, first call the destroy module functions then free module exports structure