NullPointerException abgefangen

(cherry picked from commit 6782f5104a)
This commit is contained in:
Pr3di authored and lukeIam committed 2017-12-19 10:43:35 +01:00
1 parent 533a7e64d2
commit 60a6f8d347
1 file changed
+1 -1
+1 -1
View File
@@ -323,7 +323,7 @@ namespace Vocaluxe.Base
//Change song position only if song is changed or near to end
if (songChanged || _CurPlayer.Position + 30 < _CurPlayer.Length)
if (songChanged || _CurPlayer.Position + 30 < _CurPlayer.Length || _PreviewStartHelperTask == null)
{
lock (_PreviewStartHelperTaskLock)
{