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

7:      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.87 2009/12/08 20:38:43 jonasw Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.88 2010/04/27 13:36:56 grubba Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Graphics: Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "
260:   void stop()   {    // Force cache object to be recreated in start() -  the_cache = 0; +  destruct(the_cache);   }      mapping(string:function) query_action_buttons() {