This commit is contained in:
as2252258@163.com
2021-04-24 20:17:55 +08:00
parent b55648a1ce
commit 1181fb59da
2 changed files with 30 additions and 29 deletions
+1
View File
@@ -137,6 +137,7 @@ class OnTask extends Callback
if (empty($serialize = swoole_unserialize($data))) {
return null;
}
$serialize = array_shift($serialize);
if (!($serialize instanceof ITask)) {
return null;
}