Branch: Tag:

2010-04-27

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

Make sure to flush the argcache on shutdown.

Rev: server/base_server/roxen.pike:1.1062

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1061 2010/04/21 11:22:29 stewa Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1062 2010/04/27 13:39:10 grubba Exp $";      //! @appears roxen   //!
479:    })    werror (describe_backtrace (err));    } +  // Zap some of the remaining caches. +  destruct (argcache);    destruct (cache);   #if 0    // Disabled since it's lying when the server is shut down with a
508:    catch (report_notice("Exiting roxen (spurious signals received).\n")) ||    catch (stop_all_configurations()))    werror (describe_backtrace (err)); +  // Zap some of the remaining caches. +  destruct(argcache);    destruct(cache);   #ifdef THREADS    if (mixed err = catch (stop_handler_threads()))