mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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:
parent
1eedac87b2
commit
e1e1bfa5e3
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user