예제 #1
0
파일: Socket2Test.php 프로젝트: erebot/plop
 public function tearDown()
 {
     // This is necessary to avoid a segfault under PHP 5.2.x.
     if (is_resource($this->socket)) {
         fclose($this->socket);
     }
     unset($this->handler);
     parent::tearDown();
 }
예제 #2
0
파일: SocketTest.php 프로젝트: erebot/plop
 public function tearDown()
 {
     unset($this->handler);
     parent::tearDown();
 }