However, if the "parent object of an object of type InputArea is a Layout object" comment at Area.cpp:603 is inaccurate (as some of the other comments there, such as the ones at :540, :576, and :596), and if InputArea objects can have HSplitter or VSplitter as parent, then they could be added to the queue at Area.cpp:521, in which case they would need to be removed from the queue in the InputArea destructor (as in the attached patch).
However, if the "parent object of an object of type InputArea is a Layout object" comment at Area.cpp:603 is inaccurate (as some of the other comments there, such as the ones at :540, :576, and :596), and if InputArea objects can have HSplitter or VSplitter as parent, then they could be added to the queue at Area.cpp:521, in which case they would need to be removed from the queue in the InputArea destructor (as in the attached patch).