func (i *Inspector) Close() {
	if !i.ntQueryThread.IsZero() {
		i.ntQueryThread.Terminate()
	}
	C.free(unsafe.Pointer(i.nativeExchange.buffer))
	windows.CloseHandle(windows.Handle(i.nativeExchange.ini))
	windows.CloseHandle(windows.Handle(i.nativeExchange.done))
	C.free(unsafe.Pointer(i.nativeExchange))
	for _, handle := range i.processHandles {
		if handle != 0 {
			windows.CloseHandle(handle)
		}
	}
}
// Close the Inspector object, removing any cached data and stopping the native thread
Close the Inspector object, removing any cached data and stopping the native thread
// Close the Inspector object removing any cached data and stopping the native thread
func (i *Inspector) Close() {
	if !i.ntQueryThread.IsZero() {
		i.ntQueryThread.Terminate()
	}
	C.free(unsafe.Pointer(i.nativeExchange.buffer))
	windows.CloseHandle(windows.Handle(i.nativeExchange.ini))
	windows.CloseHandle(windows.Handle(i.nativeExchange.done))
	C.free(unsafe.Pointer(i.nativeExchange))
	for _, handle := range i.processHandles {
		if handle != 0 {
			windows.CloseHandle(handle)
		}
	}
}
func ( i * Inspector ) Close ( ) { if ! i . ntQueryThread . IsZero ( ) { i . ntQueryThread . Terminate ( ) } C . free ( unsafe . Pointer ( i . nativeExchange . buffer ) ) windows . CloseHandle ( windows . Handle ( i . nativeExchange . ini ) ) windows . CloseHandle ( windows . Handle ( i . nativeExchange . done ) ) C . free ( unsafe . Pointer ( i . nativeExchange ) ) for _ , handle := range i . processHandles { if handle != 0 { windows . CloseHandle ( handle ) } } }
Close the Inspector object, removing any cached data and stopping the native thread
Close the Inspector object removing any cached data and stopping the native thread