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