fix(cli): cleanup AbortSignal event listeners to avoid MaxListenersExceededWarning

This commit is contained in:
Joakim Carlstein 2024-02-12 20:56:02 +01:00 committed by Joakim Carlstein
parent ae9e8b1b04
commit 57a099169e
2 changed files with 40 additions and 16 deletions

View file

@ -0,0 +1,5 @@
---
'@emigrate/cli': patch
---
Cleanup AbortSignal listeners when they are not needed to avoid MaxListenersExceededWarning when migrating many migrations at once