getappmap / appmap-node

AppMap client agent for Node.js
Other
9 stars 4 forks source link

fix: Crash in emit attempt when stream closed #169

Closed zermelo-wisen closed 1 month ago

zermelo-wisen commented 1 month ago

Fixes #164.

This PR checks if the stream is undefined (AppMap finished or abandoned) when an event is emitted. If so, prevents crash by issuing a warning and omitting the event.

appland-release commented 1 month ago

:tada: This PR is included in version 2.24.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: