[EditorBrowsable(EditorBrowsableState.Never)]
public sealed class SafeWiFiManagerHandle : SafeHandle
{
+ private int tid;
+
internal SafeWiFiManagerHandle() : base(IntPtr.Zero, true)
{
}
/// </summary>
protected override bool ReleaseHandle()
{
- Interop.WiFi.Deinitialize(this.handle);
+ Interop.WiFi.Deinitialize(tid, this.handle);
this.SetHandle(IntPtr.Zero);
return true;
}
+
+ internal int TID
+ {
+ set
+ {
+ tid = value;
+ Log.Info(Globals.LogTag, "New Handle for Thread " + tid);
+ }
+ }
}
/// <summary>