Skip to content

Commit

Permalink
Cocoa: Cleanup CVDisplayLink on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhinham authored and Deltafire committed Sep 27, 2015
1 parent 9a7751f commit 6256674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tracker/cocoa/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ - (void)applicationWillTerminate:(NSNotification *)aNotification
myMidiReceiver->close();
delete myMidiReceiver;

CVDisplayLinkStop(displayLink);
CVDisplayLinkRelease(displayLink);

delete myTracker;
delete myTrackerScreen;
delete myDisplayDevice;
Expand Down

0 comments on commit 6256674

Please sign in to comment.