fix onTask crash.
fix onTask crash.

LinkedDestiny/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src