The program exits unexpectedly

unDEFER via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 9 02:28:27 PST 2016


On Friday, 9 December 2016 at 10:08:24 UTC, unDEFER wrote:
> On Friday, 9 December 2016 at 09:42:52 UTC, unDEFER wrote:
>> Exceptions works good, and prints debug message always. It is 
>> not exception..
>> I have tried to add try/catch around full loop of the program. 
>> It doesn't work. And program has infinite loop.
>> But maybe it is unhandled signal?
>
> I have found. It exits on "stdout.flush()"

Without flush falls in different places.. And in the console 
leaves not fully printed lines.


More information about the Digitalmars-d-learn mailing list