Application hangs in SysUtils -> DoneMonitorSupport on exit

前端 未结 4 1087
南笙
南笙 2020-12-30 03:36

I am writing a very thread intensive application that hangs when it exits.

I\'ve traced into the system units and found the place where the program enters an infinit

4条回答
  •  长发绾君心
    2020-12-30 04:39

    In Delphi XE5, Embarcadero solved this by adding (Now - Start > 1 / MSecsPerDay) or to the repeat until loop in CleanEventList so that it will give up after 1 millisecond. It then deletes the event regardless of whether Lock was 0.

提交回复
热议问题