diff --git a/Source/win32/NSMessagePortWin32.m b/Source/win32/NSMessagePortWin32.m index 9298a131c..1e944ec35 100644 --- a/Source/win32/NSMessagePortWin32.m +++ b/Source/win32/NSMessagePortWin32.m @@ -910,8 +910,11 @@ retry: } this = PORT(self); - NSAssert(PORT(self)->wHandle != INVALID_HANDLE_VALUE, - @"Attempt to send through recv port"); + if (PORT(self)->wHandle == INVALID_HANDLE_VALUE + && [self _setupSendPort] == NO) + { + NSLog(@"Attempt to send through recv port"); + } c = [components count]; if (c == 0)