From bdad666477ecd1cdde3767b1f13b77014dcd0f47 Mon Sep 17 00:00:00 2001 From: gambas Date: Sun, 17 Apr 2022 21:45:40 +0200 Subject: [PATCH] Welcome dialog: Stop the media player when the form is closed. [DEVELOPMENT ENVIRONMENT] * BUG: Welcome dialog: Stop the media player when the form is closed. --- app/src/gambas3/.src/Welcome/FWelcome.class | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/gambas3/.src/Welcome/FWelcome.class b/app/src/gambas3/.src/Welcome/FWelcome.class index c961892db..f86f2ab9c 100644 --- a/app/src/gambas3/.src/Welcome/FWelcome.class +++ b/app/src/gambas3/.src/Welcome/FWelcome.class @@ -460,9 +460,9 @@ Public Sub MediaPlayer_End() End - -Public Sub Form_Arrange() - +Public Sub Form_Close() + + $hPlayer.Stop() + $hPlayer = Null - End