mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 10:21:48 +00:00

If we try to send a message immediately after signaling SIGHUP to wesnothd, it won't get caught by wesnothd, probably because the control socket is being reopened just as the message arrives. Thus, we need a 1 second delay after the signal. This was fixed in production a while ago but I forgot to commit the change.