Fix SIGTERM signal handling

asix uses the SIGTERM signal to rerun the simulation. Since SDL2
registers a signal handler, killing the old simulation does not have any
effect. The usual way to deal with that is to poll SDL events, but since
SDL is only used for audio here, a single line change does the job.
This commit is contained in:
2023-05-14 17:46:58 +02:00
parent af38d52d98
commit fd3ab10e5b
4 changed files with 23 additions and 4 deletions

12
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
asix (0.1.4-2) jammy; urgency=low
* Handle SIGTERM signals
-- Clément Fréville <clement.freville2@etu.uca.fr> Sun, 14 May 2023 17:34:10 +0200
asix (0.1.4-1) jammy; urgency=medium
* Merge with source
@@ -5,19 +11,19 @@ asix (0.1.4-1) jammy; urgency=medium
-- Clément Fréville <clement.freville2@etu.uca.fr> Sat, 06 May 2023 15:31:25 +0200
asix (1.1.3) jammy; urgency=low
asix (1.1.3-1) jammy; urgency=low
* Merge with source
-- Clément Fréville <clement.freville2@etu.uca.fr> Wed, 18 May 2022 17:16:51 +0200
asix (1.1.2) jammy; urgency=medium
asix (1.1.2-1) jammy; urgency=medium
* Merge with source
-- Clément Fréville <clement.freville2@etu.uca.fr> Tue, 17 May 2022 07:22:35 +0200
asix (1.1.1) jammy; urgency=medium
asix (1.1.1-1) jammy; urgency=medium
* Merge with source
* Add bash completion