On 1/6/06, Joe Orton <[EMAIL PROTECTED]> wrote: > On Wed, Jan 04, 2006 at 02:37:35PM -0800, Garrett Rooney wrote: > > Is it possible to remove hooks from a neon session? I've run into a > > situation where I'm reusing a neon session, and the context allocated > > for the hook has a shorter lifetime than the session itself. I'd like > > to remove the hooks whne I'm done with them, so they don't try to > > access bogus memory when they later run, but for now I can't see a way > > to do that. > > Yes, currently there's no way to do that, sorry. Which hook are you > dealing with? Do you really need a hook which has the lifetime of a > single request, or are you dealing with multiple requests here?
I found a work around that let me reuse one hook for multiple requests, avoiding the problem. So it's not 100% necessary, but it would have been nice. Still, it does seem kind of odd that there's no way to get rid of hooks. -garrett _______________________________________________ neon mailing list [email protected] http://mailman.webdav.org/mailman/listinfo/neon
