Skip to content

Commit

Permalink
Graceful shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
georgy7 committed Apr 3, 2024
1 parent d29622a commit aebe53d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "catframes"
version = "2024.3.0"
version = "2024.3.1"

description = "A handy tool for combining images into videos via FFmpeg."

Expand Down
6 changes: 3 additions & 3 deletions src/catframes/catframes.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
from PIL import Image, ImageColor, ImageDraw, ImageFont


__version__ = '2024.3.0'
__version__ = '2024.3.1'
__license__ = 'Zlib'


Expand Down Expand Up @@ -174,8 +174,8 @@ def _was_running(self) -> bool:
web_thread.start()
self._do_the_job(port)
finally:
# WSGIServer inherits this method from socketserver.BaseServer
httpd.shutdown()
httpd.shutdown() # Exit loop.
httpd.server_close() # Clean up the server.

return True
except OSError:
Expand Down

0 comments on commit aebe53d

Please sign in to comment.