diff --git a/MicroWebSrv2/libs/XAsyncSockets.py b/MicroWebSrv2/libs/XAsyncSockets.py index 6dd9b21..836fed0 100644 --- a/MicroWebSrv2/libs/XAsyncSockets.py +++ b/MicroWebSrv2/libs/XAsyncSockets.py @@ -727,6 +727,7 @@ def AsyncSendData(self, data, onDataSent=None, onDataSentArg=None) : self._onDataSent = onDataSent self._onDataSentArg = onDataSentArg self._asyncSocketsPool.NotifyNextReadyForWriting(self, True) + self.OnReadyForWriting() return True except : pass