summaryrefslogtreecommitdiff
path: root/common/content/io.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/io.js')
-rw-r--r--common/content/io.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/content/io.js b/common/content/io.js
index f9cb098e..b23029e9 100644
--- a/common/content/io.js
+++ b/common/content/io.js
@@ -263,12 +263,11 @@ lookup:
}
let process = services.create("process");
- let isMain = services.get("threading").isMainThread;
process.init(file);
- process.run(blocking && !isMain, args.map(String), args.length);
+ process.run(false, args.map(String), args.length);
try {
- if (blocking && isMain)
+ if (blocking)
while (process.isRunning)
util.threadYield(false, true);
}