Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #109 from matrix-io/lm/duplicateFix
Browse files Browse the repository at this point in the history
Removing duplicates events
  • Loading branch information
gordinh authored Feb 26, 2018
2 parents 8666bf5 + 94e0665 commit 22211c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/lib/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ var service = function(name, options) {

then: function(cb) {
console.log('setup service listener');
process.on('message', function(data) {
process.once('message', function(data) {

// console.log('RECOG SERVICE THEN', data)
if (data.eventType === 'service-emit' &&
Expand Down

0 comments on commit 22211c5

Please sign in to comment.