mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed Memory Leak
This commit is contained in:
parent
8d3ad0c5ec
commit
6102efc809
4 changed files with 46 additions and 49 deletions
|
|
@ -210,6 +210,7 @@ class PocketMinecraftServer{
|
|||
$this->preparedSQL->selectHandlers->bindValue(":name", $event, SQLITE3_TEXT);
|
||||
$handlers = $this->preparedSQL->selectHandlers->execute();
|
||||
$result = true;
|
||||
console("[INTERNAL] Handling ".$event, true, true, 3);
|
||||
if($handlers !== false and $handlers !== true){
|
||||
while(false !== ($hn = $handlers->fetchArray(SQLITE3_ASSOC)) and $result !== false){
|
||||
$handler = $this->handlers[(int) $hn["ID"]];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue