Skip to content

Commit 234db96

Browse files
author
RandomEngy
committed
Fix for possible crash when auto-pausing during an on-demand scan.
1 parent 3de2e54 commit 234db96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

VidCoder/ViewModel/Components/ProcessingViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ private void AutoPauseEncoding(object sender, EventArgs e)
15061506
{
15071507
DispatchService.Invoke(() =>
15081508
{
1509-
if (this.Encoding && !this.Paused)
1509+
if (this.Encoding && !this.Paused && this.CurrentJob.HandBrakeInstance != null)
15101510
{
15111511
this.PauseEncoding();
15121512
}

0 commit comments

Comments
 (0)