mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Only allow one thread per property, fixes #1668
This commit is contained in:
parent
71bf984e9e
commit
b8802edd6d
@ -29,9 +29,9 @@ use pocketmine\Server;
|
||||
*/
|
||||
abstract class AsyncTask extends \Threaded{
|
||||
|
||||
public $complete = null;
|
||||
public $finished = null;
|
||||
public $result = null;
|
||||
protected $complete = null;
|
||||
protected $finished = null;
|
||||
protected $result = null;
|
||||
|
||||
public function run(){
|
||||
$this->finished = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user