Skip to content

Commit 392fcf3

Browse files
committed
Merge pull request #283 from macvim-dev/fix/channel
Fix channel
2 parents fa9800e + 417dd19 commit 392fcf3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/MacVim/MMBackend.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3449,8 +3449,7 @@ - (id)initWithChannel:(channel_T *)c part:(int)p
34493449
&socketReadCallback,
34503450
&ctx);
34513451
CFOptionFlags opt = CFSocketGetSocketFlags(socket);
3452-
opt &= ~(kCFSocketCloseOnInvalidate|
3453-
kCFSocketAutomaticallyReenableReadCallBack);
3452+
opt &= ~kCFSocketCloseOnInvalidate;
34543453
CFSocketSetSocketFlags(socket, opt);
34553454
runLoopSource = CFSocketCreateRunLoopSource(NULL,
34563455
socket,

0 commit comments

Comments
 (0)