Ignore:
Timestamp:
Aug 23, 2010, 3:56:09 AM (10 years ago)
Author:
sam
Message:

Properly implement program termination, including in the GTK program.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debugsprite.cpp

    r154 r170  
    3636    data = new DebugSpriteData();
    3737    data->game = game;
     38    Ticker::Ref(game);
    3839    data->tiler = Tiler::Register("art/test/character-dress.png");
    3940    data->x = 320;
     
    7273DebugSprite::~DebugSprite()
    7374{
     75    Ticker::Unref(data->game);
    7476    Tiler::Deregister(data->tiler);
    7577    delete data;
Note: See TracChangeset for help on using the changeset viewer.