fixed the release() error when closing window