From: Vásáry Dániel Date: Thu, 12 Oct 2017 09:50:37 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=f54e692fbcf11fe0a1828288f1f65baa881e91ed;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C30597 --- diff --git a/client/DxPlay/PlayerForm.cs b/client/DxPlay/PlayerForm.cs index 231a8b51..117f2d30 100644 --- a/client/DxPlay/PlayerForm.cs +++ b/client/DxPlay/PlayerForm.cs @@ -71,7 +71,7 @@ namespace DxPlay { } private void playEvent() { - if (this.Disposing || this.IsDisposed || m_play == null) + if (!IsHandleCreated || Disposing || IsDisposed || m_play == null) return; //Debug.WriteLine("Event " + m_play.State); //switch (m_play.State) {