Skip to content

Commit 118462b

Browse files
committed
Fix run state when clicking the operation
1 parent d02d0b2 commit 118462b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

addons/cb.project/autorun.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,10 @@ define([
7676
}
7777
});
7878

79-
// Stop
80-
op.on("destroy", function() {
81-
setRunTerminal(undefined);
82-
});
83-
8479
// Terminal is close: finish the operation
8580
runInfo.terminal.on("tab:close", function() {
8681
op.destroy();
82+
setRunTerminal(undefined);
8783
});
8884

8985
// Set active runningterminal

0 commit comments

Comments
 (0)