This fixes issues with not closing resources given by PocketMine, causing a crash at a later stage.
Users usually blame PocketMine for this, but it's entirely a plugin's fault.
This code was found via GitHub search, please review your code for usage of:
Plugin->getResource() without fclose() calls later
This fixes issues with not closing resources given by PocketMine, causing a crash at a later stage. Users usually blame PocketMine for this, but it's entirely a plugin's fault.
This code was found via GitHub search, please review your code for usage of:
Plugin->getResource()
withoutfclose()
calls laterPlugin->getResource()
callsfopen()
calls withoutfclose()
popen()
calls withoutpclose()