Skip to content

Commit e934da8

Browse files
committed
Merge pull request #107 from mbabker/patch-1
Periodic timer events do not cancel
2 parents 632eb94 + e71371d commit e934da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Topic/TopicPeriodicTimer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function cancelPeriodicTimer(TopicInterface $topic, $name)
114114
{
115115
$namespace = spl_object_hash($topic);
116116

117-
if (isset($this->registry[$namespace][$name])) {
117+
if (!isset($this->registry[$namespace][$name])) {
118118
return;
119119
}
120120

0 commit comments

Comments
 (0)