fixed memory leak
Merge branch 'master' into feature/synchronousEventDemultiplexer
Merge pull request #23 from tekniskit/feature/synchronousEventDemultiplexer

Fixed memory leak