clean up the callback in exit_grab() for macos
#6
+1
−0
exit_grab() for macos
#6