Skip to content

Commit

Permalink
Fixed memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
andot committed Sep 17, 2016
1 parent 91a1229 commit 8f218e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Hprose/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* *
* hprose service class for php 5.3+ *
* *
* LastModified: Sep 3, 2016 *
* LastModified: Sep 17, 2016 *
* Author: Ma Bingyao <andot@hprose.com> *
* *
\**********************************************************/
Expand Down Expand Up @@ -1033,9 +1033,6 @@ private function setTimer(ArrayObject $topics, $topic, $id) {
$checkoffline();
}
else {
if ($e instanceof InvalidRequestException) {
return new Future();
}
--$t->count;
}
});
Expand Down

0 comments on commit 8f218e4

Please sign in to comment.