ObjFW  Diff

Differences From Artifact [3021941e31]:

To Artifact [77a66a4df1]:


169
170
171
172
173
174
175


176
177
178
179
180
181
182
183
184
185
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187







+
+










	if (_socket == INVALID_SOCKET)
		@throw [OFNotOpenException exceptionWithObject: self];

	close(_socket);
	_socket = INVALID_SOCKET;

	_atEndOfStream = false;

	[super close];
}

- (void)dealloc
{
	if (_socket != INVALID_SOCKET)
		[self close];

	[super dealloc];
}
@end