Skip to content

Commit 89cb1f7

Browse files
committed
Update gm_api.ts
1 parent 5616117 commit 89cb1f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/app/service/content/gm_api/gm_api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,6 +1409,7 @@ export default class GMApi extends GM_Base {
14091409
error = null; // GC
14101410
};
14111411
const onStart = async (con: MessageConnect) => {
1412+
if (killConn === null || done) return;
14121413
try {
14131414
result = await cb();
14141415
} catch (e) {

0 commit comments

Comments
 (0)