We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66dbaf3 commit 806d60dCopy full SHA for 806d60d
src/asyncresults.jl
@@ -318,5 +318,9 @@ function _async_submit(
318
Cint(binary_format), # return result in text or binary format
319
)
320
# send_status must be 1, if nonblock, we also want to flush
321
- return send_status == 1 && (isnonblocking(jl_conn) == 0 || flush(jl_conn))
+ if isnonblocking(jl_conn)
322
+ return send_status == 1 && flush(jl_conn) # or _flush if renamed
323
+ else
324
+ return send_status == 1
325
+ end
326
end
0 commit comments