Skip to content

Commit

Permalink
Fixes issue with assigning variable after thread has already began (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljohnston2025 authored Feb 20, 2025
1 parent 0bee695 commit 7e3bff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoeverywhere/WebStream/octowebstreamhttphelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,8 +1187,8 @@ def doUnknownBodyChunkRead(self, httpResult:OctoHttpRequest.Result):
if self.UnknownBodyChunkReadContext is None:
context = UnknownBodyChunkReadContext(httpResult)
context.Thread = threading.Thread(target=self.doUnknownBodyChunkReadThread)
context.Thread.start()
self.UnknownBodyChunkReadContext = context
context.Thread.start()

try:
startSec = time.time()
Expand Down

0 comments on commit 7e3bff5

Please sign in to comment.