modify mysql result

This commit is contained in:
2022-04-29 14:46:45 +08:00
parent 021076cf51
commit af768725d8
3 changed files with 121 additions and 106 deletions
+8 -2
View File
@@ -11,10 +11,14 @@ use Swoole\Event;
use Swoole\Process;
use Swoole\Timer;
/**
*
*/
class Inotify extends BaseProcess
{
private mixed $inotify;
private mixed $inotify = null;
private mixed $events;
private array $watchFiles = [];
@@ -81,7 +85,6 @@ class Inotify extends BaseProcess
}
/**
* @throws Exception
*/
@@ -100,6 +103,9 @@ class Inotify extends BaseProcess
public function clear()
{
if (is_null($this->inotify)) {
return;
}
Event::del($this->inotify);
Event::exit();
}