mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
CompressBatchedTask: remove useless code causing build failure
assuming that pthreads does not have leak issues, this code is pointless, and if pthreads does have leak issues, this may not prevent them anyway.
This commit is contained in:
@ -48,7 +48,6 @@ class CompressBatchedTask extends AsyncTask{
|
||||
public function onRun(){
|
||||
$batch = new BatchPacket();
|
||||
$batch->payload = $this->data;
|
||||
$this->data = null;
|
||||
|
||||
$batch->setCompressionLevel($this->level);
|
||||
$batch->encode();
|
||||
|
Reference in New Issue
Block a user