RawKeyboardService leaks
The removeListener function didn't actually remove anything from the list because Mojo objects don't maintain their identity when you transfer them through a message pipe. Now we just watch for errors on the listener's pipe, which means the way you stop listening is just to close your end of the pipe.
Showing
想要评论请 注册 或 登录