Fixed a memory leak on world unload, should close #498.