Quit TApplication eventloop when last windows is closed

if you call TApplications Run() Method with the Argument kTRUE, the Root Eventloop returns, if you e.g. klick on the File->Quit ROOT button of any opened Canvas. Unfortunately you cannot click on this item if you close all your ROOT windows (e.g. by clicking File->CloseCanvas) . Thus the eventloop does not return (and you even cannot interrupt the eventloop by pressing Ctrl-C).

Is there any possiblity to quit the eventloop if all windows are closed?

Cheers J.

Probably you already solved this issue, but it may be useful to have a reply to this message…

People with this problem may look up here
root.cern.ch/phpBB2/viewtopic.ph … pplication