Merge pull request #347 from lukeIam/release-0.4.1

_PreviewStartHelperTask null check from @Pr3di
This commit is contained in:
Florian Küpper authored and GitHub committed 2017-12-19 11:12:47 +01:00
commit 5ec3f9a8a7
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)
{