ObjFW  Diff

Differences From Artifact [3257d0230c]:

To Artifact [4e382dab1b]:


379
380
381
382
383
384
385

386


387
388
389
390
391
392
393
379
380
381
382
383
384
385
386

387
388
389
390
391
392
393
394
395







+
-
+
+







}

- (void)close
{
	if (_readPipe[0] == NULL)
		@throw [OFNotOpenException exceptionWithObject: self];

	if (_writePipe[1] != NULL)
	[self closeForWriting];
		[self closeForWriting];

	CloseHandle(_readPipe[0]);

	if (_handle != INVALID_HANDLE_VALUE) {
		TerminateProcess(_handle, 0);
		CloseHandle(_handle);
	}