fix Issue 11344 - [2.064 beta] Error: object.destroy called with argument types matches both
Merge pull request #647 from WalterBright/fix11344

fix Issue 11344 - Error: object.destroy called with argument types matches both