[Checkins] [zopefoundation/ZODB] 36df7e: Be more careful about calling close callbacks

GitHub noreply at github.com
Thu Jun 9 15:07:06 CEST 2016


  Branch: refs/heads/no-more-load
  Home:   https://github.com/zopefoundation/ZODB
  Commit: 36df7e061e2e1878c746451a180f88c8257ef5b9
      https://github.com/zopefoundation/ZODB/commit/36df7e061e2e1878c746451a180f88c8257ef5b9
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
    M src/ZODB/Connection.py

  Log Message:
  -----------
  Be more careful about calling close callbacks

By resetting self.__onCloseCallbacks before calling the close
callbacks to forestall infinite recursion (as can be the case when a
close callback is the database close methos).




More information about the checkins mailing list