Fixed code on window destroy by WM that prevent Platform from being deleted
Fixed code on window destroy by WM that prevent Platform from being deleted

reven86/GamePlay,reven86/GamePlay,reven86/GamePlay,reven86/GamePlay,reven86/GamePlay