fix(WebWorker): Don't send messages when the buffer is empty
Closes #4138
This commit is contained in:

committed by
Misko Hevery

parent
1de2d29f96
commit
8485ef9230
@ -10,7 +10,6 @@ System.config({
|
||||
System.import("playground/src/web_workers/images/background_index")
|
||||
.then(
|
||||
function(m) {
|
||||
console.log("running main");
|
||||
try {
|
||||
m.main();
|
||||
} catch (e) {
|
||||
|
@ -8,7 +8,6 @@ System.config({
|
||||
System.import("playground/src/web_workers/kitchen_sink/background_index")
|
||||
.then(
|
||||
function(m) {
|
||||
console.log("running main");
|
||||
try {
|
||||
m.main();
|
||||
} catch (e) {
|
||||
|
@ -8,7 +8,6 @@ System.config({
|
||||
System.import("playground/src/web_workers/todo/background_index")
|
||||
.then(
|
||||
function(m) {
|
||||
console.log("running main");
|
||||
try {
|
||||
m.main();
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user