Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACBC4C604 for ; Fri, 7 Jun 2013 15:10:05 +0000 (UTC) Received: (qmail 7602 invoked by uid 500); 7 Jun 2013 15:10:05 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 7579 invoked by uid 500); 7 Jun 2013 15:10:05 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 7559 invoked by uid 99); 7 Jun 2013 15:10:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 15:10:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of seanmckaybeck@gmail.com designates 209.85.215.169 as permitted sender) Received: from [209.85.215.169] (HELO mail-ea0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jun 2013 15:09:58 +0000 Received: by mail-ea0-f169.google.com with SMTP id h15so3737819eak.28 for ; Fri, 07 Jun 2013 08:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GDTu/EB+BeIsDXsagS862T0L8p9aoWAVdA4PsACFNu0=; b=LCqZtaxERVRzLN1jM11hGrq8SoxiqeUfuTMbazmGXReFbyM08nUfF/nIWuaTun5onn 4FOvjJHrpZerUqYkE9gigXMK4HC3Srkb7n2PLWgS7yrK3Cwt4AlNDE9lAtuzM7hGE90C mEqxbGgDLfrXyjgjK9BC7l2BENtdBWWzksqrWw4xVoFd/2okd0/qpkEtH1mYHNac2Eb/ UMUCW+Gs20UUL1tkXQb7e5nhBL+S3scH7MguHzAVzhPX/xm7FH4EYFer6fyH+T5ZslCK wQyrPU/+BhFgKQ0r3GVrYRi7/7O2ArVzwXagyWVcwKDMe5Mtqbe4JDxSPws48E9isXZo +EEQ== MIME-Version: 1.0 X-Received: by 10.15.64.202 with SMTP id o50mr9729922eex.44.1370617778856; Fri, 07 Jun 2013 08:09:38 -0700 (PDT) Received: by 10.14.47.78 with HTTP; Fri, 7 Jun 2013 08:09:38 -0700 (PDT) In-Reply-To: <51B1F753.4060008@joe-lewis.com> References: <51B0FC25.8070308@joe-lewis.com> <51B108F4.5050409@joe-lewis.com> <51B10A21.3010107@joe-lewis.com> <51B1F36C.3040508@joe-lewis.com> <51B1F753.4060008@joe-lewis.com> Date: Fri, 7 Jun 2013 09:09:38 -0600 Message-ID: Subject: Re: Tear down of module on server stop From: Sean Beck To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11c3dccad506ba04de91d11f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3dccad506ba04de91d11f Content-Type: text/plain; charset=ISO-8859-1 OK good to know. Would I use apr_pool_cleanup_register in register hooks? On Fri, Jun 7, 2013 at 9:08 AM, Joe Lewis wrote: > > On 06/07/2013 08:59 AM, Sean Beck wrote: > >> You guys are awesome. >> So it should only run once then? Also for tear down of the stuff is there >> a >> different hook that I could load? >> > > It still runs twice. Tear down should be registering a pool clean up > function, and using that. > > > --001a11c3dccad506ba04de91d11f--