Skip to content

Commit 1eba4db

Browse files
committed
Fix the cancel
1 parent f7b2575 commit 1eba4db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ApiClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function addResultHandler(callable $handler)
5050
*/
5151
protected function handleStream($curl, $streamData) {
5252
if ($this->shouldAbort) {
53+
$this->shouldAbort = false;
5354
return -1;
5455
}
5556

0 commit comments

Comments
 (0)