Branch: Tag:

2010-04-27

2010-04-27 13:36:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Make sure to flush the image caches properly on shutdown.

Rev: server/modules/graphics/atlas.pike:1.22
Rev: server/modules/graphics/business.pike:1.158
Rev: server/modules/graphics/cimg.pike:1.88
Rev: server/modules/graphics/gbutton.pike:1.124
Rev: server/modules/graphics/graphic_text.pike:1.313
Rev: server/modules/graphics/gxml.pike:1.54

1:   // This is a roxen module. Copyright © 1996 - 2009, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.312 2009/12/01 18:06:38 grubba Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.313 2010/04/27 13:36:56 grubba Exp $";      #include <module.h>   inherit "module";
647:    honor_supports = query("honor_supports");   }    + void stop() + { +  destruct(image_cache); + } +    private constant nbsp = Roxen.iso88591["&nbsp;"];      private Image.Image|mapping draw_callback(mapping args, string text, RequestID id)