Open Davies-Owen opened 2 years ago
Looks like it should be reported in the @parse/node-apn repo ?
I was just running into this issue. For future reference: the handles remain open until the APN provider is shutdown. This doesn't seem to happen automagically, but you can force it by calling push.setOptions({})
(replace push
with your instance of PushNotifications
).
Current behavior:
After sending a notification via APN, node will not exit due to open handles.
Expected behavior:
The process should exit normally after all tasks are complete.
Minimal reproduction:
Click to expand
``` const PushNotifications = require('node-pushnotifications'); const apn = { key: 'Open handles according to
why-is-node-running
:Thanks.