Ensure that sub-pools are always destroyed before their parents.  This makes it a lot more difficult to crash when cleaning up.  There may still be issues if a SVN API call is made on an object that was stored in a destroyed pool.
Ensure that sub-pools are always destroyed before their parents.  This
makes it a lot more difficult to crash when cleaning up.  There may
still be issues if a SVN API call is made on an object that was stored
in a destroyed pool.

Includes the fix for #1394, thanks to Topia.

git-svn-id: eda3d06fcef731589ace1b284159cead3416df9b@1481 af82e41b-90c4-0310-8c96-b1721e28e2e2

walty8/trac,walty8/trac,netjunki/trac-Pygit2,walty8/trac,netjunki/trac-Pygit2,jun66j5/trac-ja,jun66j5/trac-ja,walty8/trac,jun66j5/trac-ja,jun66j5/trac-ja,netjunki/trac-Pygit2