fix: always listen to stream to make sure it emits

This commit is contained in:
cha0s 2019-12-20 19:28:38 -06:00
parent 1d3f614d9b
commit 5eb21e5e26

View File

@ -196,6 +196,9 @@ export class Emitter extends decorate(Trait) {
}
emitter.end();
});
// Always make sure something listens...
stream.onEnd(() => {});
return stream;
},
emitParticle: (key, json = {}) => {