ObjFW  Diff

Differences From Artifact [2a532fea1c]:

To Artifact [f8648491b3]:


155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
155
156
157
158
159
160
161

162
163
164
165
166
167
168
169
170
171







-










		@throw [OFNotConnectedException newWithClass: isa
						      socket: self];

	close(sock);

	sock = INVALID_SOCKET;
	eos = NO;
	listening = NO;
}

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

	[super dealloc];
}
@end