We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fee3f1 + e026051 commit fd5b06fCopy full SHA for fd5b06f
1 file changed
src/MacVim/MMBackend.m
@@ -3448,6 +3448,10 @@ - (id)initWithChannel:(channel_T *)c part:(int)p
3448
kCFSocketReadCallBack,
3449
&socketReadCallback,
3450
&ctx);
3451
+ CFOptionFlags opt = CFSocketGetSocketFlags(socket);
3452
+ opt &= ~(kCFSocketCloseOnInvalidate|
3453
+ kCFSocketAutomaticallyReenableReadCallBack);
3454
+ CFSocketSetSocketFlags(socket, opt);
3455
runLoopSource = CFSocketCreateRunLoopSource(NULL,
3456
socket,
3457
0);
0 commit comments