comparison common-channel.c @ 1191:b370b4b172d0

Fix ses.channel_signal_pending race
author Matt Johnston <matt@ucc.asn.au>
date Fri, 27 Nov 2015 21:26:43 +0800
parents 509cf5df51c6
children af940cefdba1
comparison
equal deleted inserted replaced
1190:6ae081e631db 1191:b370b4b172d0
253 if (do_check_close) { 253 if (do_check_close) {
254 check_close(channel); 254 check_close(channel);
255 } 255 }
256 } 256 }
257 257
258 ses.channel_signal_pending = 0;
259
260 #ifdef USING_LISTENERS 258 #ifdef USING_LISTENERS
261 handle_listeners(readfds); 259 handle_listeners(readfds);
262 #endif 260 #endif
263 } 261 }
264 262