mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +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{
|
abstract class AsyncTask extends \Threaded{
|
||||||
|
|
||||||
public $complete = null;
|
protected $complete = null;
|
||||||
public $finished = null;
|
protected $finished = null;
|
||||||
public $result = null;
|
protected $result = null;
|
||||||
|
|
||||||
public function run(){
|
public function run(){
|
||||||
$this->finished = false;
|
$this->finished = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user