diff --git a/framework/cacheModule/cache/CacheFileRemuxer.cpp b/framework/cacheModule/cache/CacheFileRemuxer.cpp index 4e61e8f65..0f408a2bd 100644 --- a/framework/cacheModule/cache/CacheFileRemuxer.cpp +++ b/framework/cacheModule/cache/CacheFileRemuxer.cpp @@ -214,6 +214,11 @@ void CacheFileRemuxer::stop() mMuxThread = nullptr; } + + if (FileUtils::isFileExist(mDestFilePath.c_str()) == FILE_TRUE) { + FileUtils::rmrf(mDestFilePath.c_str()); + } + //muxer will close at thread end. }