holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://pears.com/
Apache License 2.0
86 stars 9 forks source link

Signal teardown for desktop apps #83

Closed ruy-dan closed 4 months ago

ruy-dan commented 4 months ago

Listens for an exit signal (sigterm, sigint) and awaits the exit of clients on teardown. For desktop apps only, since terminal apps have this logic in the API already.

ruy-dan commented 4 months ago

closing as discussed, as this is changing with the upcoming pear-rpc branch