guodong 1 năm trước cách đây
mục cha
commit
297dc6918c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Sound/MusicManager.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Sound/MusicManager.cs

@@ -101,8 +101,8 @@ namespace GFGGame
         }
         public void Stop()
         {
-            handle.Release();
-            player.Stop();
+            handle?.Release();
+            player?.Stop();
         }
     }
 }