ResourceManager清理函数补充clearMusic

This commit is contained in:
Ziyu
2025-10-21 14:53:31 +08:00
parent 5bd90afeb7
commit ee752969f7
+1
View File
@@ -24,6 +24,7 @@ ResourceManager::ResourceManager(SDL_Renderer* renderer) {
void ResourceManager::clear() {
font_manager_->clearFonts();
audio_manager_->clearSounds();
audio_manager_->clearMusic();
texture_manager_->clearTextures();
spdlog::trace("ResourceManager 中的资源通过 clear() 清空。");
}