OSDN Git Service
(root)
/
kit
/
kit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed565d
)
update System.launch with launchLock
author
taichanne30
<ne300209@senshu-u.jp>
Fri, 22 Nov 2019 05:56:39 +0000
(14:56 +0900)
committer
taichanne30
<ne300209@senshu-u.jp>
Fri, 22 Nov 2019 05:56:39 +0000
(14:56 +0900)
system.js
patch
|
blob
|
history
diff --git
a/system.js
b/system.js
index
9fe7d19
..
f0001be
100644
(file)
--- a/
system.js
+++ b/
system.js
@@
-981,7
+981,10
@@
const System = new function() {
});
}
- this.launch = function(path, args) {
+ this.launch = async function(path, args) {
+ while(System.launchLock) await System.ajaxWait();
+ System.launchLock = true;
+
let _pid = pid;
System.args[_pid] = args;
let _path = path;