Skip to content

Commit

Permalink
gh-2985: Fixed mixins.startup.serve UnboundLocalError.
Browse files Browse the repository at this point in the history
  • Loading branch information
pygeek committed Jul 31, 2024
1 parent da1c646 commit 6d80c7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sanic/mixins/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ def serve(

socks = []
sync_manager = Manager()
worker_state: Mapping[str, Any] = {"state": "NONE"}
setup_ext(primary)
exit_code = 0
try:
Expand Down

0 comments on commit 6d80c7e

Please sign in to comment.