Commit 8bed4b5
api: spawn CallbackList use UiThreadHandler::runAndWait executor (tiann#2096)

Because the exit callback in js cleans up the ChildProcess, when the
last callback of stdout is executed after the exit callback, an error
like “emitData ReferenceError: spawn_callback_1727358276092_68 is not
defined” will occur.1 parent 25f2d94 commit 8bed4b5
File tree
1 file changed
+3
-2
lines changed- manager/app/src/main/java/me/weishu/kernelsu/ui/webui
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
0 commit comments