From cea72801a7c0296a8057289eb8ac02768c3a66a2 Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Thu, 9 Nov 2017 19:29:01 +0100
Subject: [PATCH] Fix video player process sometimes taking too long to close

---
 video/FormPlayer.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/video/FormPlayer.cs b/video/FormPlayer.cs
index adf1bab8..37f3ba0f 100644
--- a/video/FormPlayer.cs
+++ b/video/FormPlayer.cs
@@ -261,7 +261,8 @@ private void StopVideo(){
             timerSync.Stop();
             Visible = false;
             pipe.Write("rip");
-
+            
+            Player.close();
             Close();
         }