Send crash report synchronous to avoid lost of events

This commit is contained in:
Julien Duponchelle committed 2015-03-03 12:41:30 +01:00
1 parent 6208cb997d
commit 16dc0d1a8a
2 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ class Server:
if modified > self._start_time:
log.debug("File {} has been modified".format(path))
asyncio.async(reload())
self._loop.call_later(1, self._reload_hook)
self._loop.call_later(1, self._reload_hook, handler)
def _create_ssl_context(self, server_config):