mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐛 Fix slow exit of exporter docker container
This commit is contained in:
parent
81ecb26f8b
commit
ef9dcf391d
1 changed files with 3 additions and 0 deletions
|
@ -44,3 +44,6 @@
|
||||||
(proc/on "uncaughtException"
|
(proc/on "uncaughtException"
|
||||||
(fn [cause]
|
(fn [cause]
|
||||||
(js/console.error cause)))
|
(js/console.error cause)))
|
||||||
|
|
||||||
|
(proc/on "SIGTERM" (fn [] (proc/exit 0)))
|
||||||
|
(proc/on "SIGINT" (fn [] (proc/exit 0)))
|
||||||
|
|
Loading…
Reference in a new issue