protected override void Destroy(bool disposing) { if (!myExternal) { if (!disposing) Context.Global.SetActive(true); sfTexture_destroy(CPointer); if (!disposing) Context.Global.SetActive(false); } }