mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Only allow one thread per property, fixes #1668
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user