Skip to content

Commit 22c61cb

Browse files
committed
fix: unlink correct death recipient #146
1 parent 10e8aea commit 22c61cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/xtr/keymapper/server/RemoteService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private void stopServer(boolean exitProcess) {
290290
inputService.stopMouse();
291291
inputService.stopTouchpad();
292292
inputService.destroyUinputDev();
293-
if (inputService.getCallback() != null) inputService.getCallback().asBinder().unlinkToDeath(mKeyEventListenerDeathRecipient, 0);
293+
if (inputService.getCallback() != null) inputService.getCallback().asBinder().unlinkToDeath(mStartServerDeathRecipient, 0);
294294
inputService = null;
295295
}
296296
}

0 commit comments

Comments
 (0)