Commit 452e223a authored by 潘栩锋's avatar 潘栩锋 🚴

修复 Window_WarningTip 119行 audioFile == null 异常!!!

parent 2f082f8e
......@@ -116,6 +116,11 @@ namespace FLY.ControlLibrary
if (isRunning)
{
//重新播放!!
if (audioFile == null)
{
stopMusic();
return;
}
audioFile.Position = 0;
outputDevice.Play();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment