SafeWiFiAPHandle is used for WiFiNetwork and WiFiSecurity, which is
created by WiFiAP.
It has the same value as _apHandle in WiFiAP.
Dispose() of WiFiAP releases unmanaged memory by calling WiFi.AP.Destroy().
Therefore, the handle to be released by WiFi.AP.Destroy() in ReleaseHandle() is already freed in unmanaged.
Change-Id: I3a1efb0f5780123e6d8f3c5ffb70c2273df6ad86
Signed-off-by: cheoleun <chleun.moon@samsung.com>
protected override bool ReleaseHandle()
{
- WiFi.AP.Destroy(this.handle);
this.SetHandle(IntPtr.Zero);
return true;
}