public void Dispose() { if (this.Model != IntPtr.Zero) { WapitiNative.mdl_free(this.Model); this.Model = IntPtr.Zero; } }