We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeHandle
Instance
1 parent a5668ce commit 3d4a3e3Copy full SHA for 3d4a3e3
src/Instance.cs
@@ -1,7 +1,6 @@
1
using System;
2
using System.Runtime.InteropServices;
3
using System.Text;
4
-using Microsoft.Win32.SafeHandles;
5
6
namespace Wasmtime
7
{
@@ -603,21 +602,6 @@ internal Instance(Store store, ExternInstance instance)
603
602
this.instance = instance;
604
}
605
606
- internal class TypeHandle : SafeHandleZeroOrMinusOneIsInvalid
607
- {
608
- public TypeHandle(IntPtr handle)
609
- : base(true)
610
611
- SetHandle(handle);
612
- }
613
-
614
- protected override bool ReleaseHandle()
615
616
- Native.wasmtime_instancetype_delete(handle);
617
- return true;
618
619
620
621
private static class Native
622
623
[DllImport(Engine.LibraryName)]
0 commit comments