NullPointerException abgefangen
This commit is contained in:
1 parent
67c1d26dad
commit
6782f5104a
1 file changed
+1
-1
@@ -315,7 +315,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)
|
||||
{
|
||||
_PreviewStartHelperTask = new Task(() =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user