The variable milliseconds
was uninitialised if the given timeout was negative (infinite). This PR fixes the undefined behaviour, the issue I had in #2073 (comment 141518), and possibly also issue #3252 (closed).
The variable milliseconds
was uninitialised if the given timeout was negative (infinite). This PR fixes the undefined behaviour, the issue I had in #2073 (comment 141518), and possibly also issue #3252 (closed).