OnClose never gets executed

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

OnClose never gets executed

Post by rrTea »

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?>
<ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2">
  <OnLoaded>
    <ZExpression>
      <Expression>
<![CDATA[trace ("Start");

quit();]]>
      </Expression>
    </ZExpression>
  </OnLoaded>
  <OnClose>
    <ZExpression Expression="trace (&quot;End&quot;);"/>
  </OnClose>
</ZApplication>
It works if the project is stopped by pressing the "Stop" button or using Alt+Enter.
Post Reply