소스 검색

Fix onWritable

walkor 3 년 전
부모
커밋
33a549e724
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Events/Event.php

+ 1 - 1
src/Events/Event.php

@@ -175,7 +175,7 @@ class Event implements EventInterface
         if (!$event || !$event->add()) {
             return false;
         }
-        $this->_readEvents[$fd_key] = $event;
+        $this->_writeEvents[$fd_key] = $event;
         return true;
     }