[PATCH] Cygwin: pty: Add FreeConsole to destructor of pty slave.

Takashi Yano takashi.yano@nifty.ne.jp
Mon Mar 16 02:03:54 GMT 2020


On Fri, 13 Mar 2020 10:58:25 +0100
Corinna Vinschen wrote:
> Pushed.  However, the comment in that snippet (Why comes...) puzzles
> me a bit.  Can you clarify this a bit?

_tc is set in fhandler_pty_master::setup() in very early stage.
So I thought it should have valid value in destructor of pty
slave. However, in practice, _tc may be NULL in some unclear
situation.

I wonder why _tc can be NULL in the destructor of pty slave.
I must have overlooked something...

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-patches mailing list