SDL: IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL

From 2f0edc290642a45a9f415b331eeae6fbcc19e7fb Mon Sep 17 00:00:00 2001
From: ALittleDruid <[EMAIL REDACTED]>
Date: Sat, 4 Dec 2021 09:23:19 +0800
Subject: [PATCH] IAudioClient::SetEventHandle  Parameter eventHandle Should
 not be NULL

---
 src/audio/wasapi/SDL_wasapi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/audio/wasapi/SDL_wasapi.c b/src/audio/wasapi/SDL_wasapi.c
index 8da25caf765..f2d1b16f43c 100644
--- a/src/audio/wasapi/SDL_wasapi.c
+++ b/src/audio/wasapi/SDL_wasapi.c
@@ -425,7 +425,6 @@ ReleaseWasapiDevice(_THIS)
 {
     if (this->hidden->client) {
         IAudioClient_Stop(this->hidden->client);
-        IAudioClient_SetEventHandle(this->hidden->client, NULL);
         IAudioClient_Release(this->hidden->client);
         this->hidden->client = NULL;
     }