Skip to content

Commit 6750d88

Browse files
Symbol will not be defined on Windows when daemon mode not available.
1 parent 1943fda commit 6750d88

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/release-notes/version-4.5.22.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ Version 4.5.22
55
Version 4.5.22 of mod_wsgi can be obtained from:
66

77
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.22
8+
9+
Bugs Fixed
10+
----------
11+
12+
* Change in version 4.5.21 caused Windows builds to break with undefined
13+
symbol ``wsgi_daemon_shutdown``.

src/server/wsgi_interp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,9 @@ apr_status_t wsgi_python_term(void)
19961996

19971997
apr_thread_mutex_lock(wsgi_shutdown_lock);
19981998

1999+
#if defined(MOD_WSGI_WITH_DAEMONS)
19992000
wsgi_daemon_shutdown++;
2001+
#endif
20002002

20012003
Py_Finalize();
20022004

0 commit comments

Comments
 (0)