Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 0f28380

Browse files
committed
Fix weird timing bug
1 parent 343dd75 commit 0f28380

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EZBlocker3/Spotify/ProcessAndWindowEventSpotifyHook.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ protected virtual void OnSpotifyHooked(Process mainProcess, IntPtr mainWindowHan
250250
_titleChangeEventHook.HookToProcess(mainProcess);
251251
_windowDestructionEventHook.HookToProcess(mainProcess);
252252

253-
mainProcess.EnableRaisingEvents = true;
254-
mainProcess.Exited += (s, e) => OnSpotifyClosed();
253+
// mainProcess.EnableRaisingEvents = true;
254+
// mainProcess.Exited += (s, e) => OnSpotifyClosed();
255255

256256
IsHooked = true;
257257

0 commit comments

Comments
 (0)