From 5453e0f02259deb2b2a0ea1118deeb55d4edac9e Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 21 Jan 2007 16:01:09 -0700 Subject: [PATCH] queen.sendOnly: ignore DeadReferenceError too --- src/allmydata/queen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/queen.py b/src/allmydata/queen.py index c49f384f..aff8ee76 100644 --- a/src/allmydata/queen.py +++ b/src/allmydata/queen.py @@ -1,6 +1,6 @@ import os.path -from foolscap import Referenceable +from foolscap import Referenceable, DeadReferenceError from foolscap.eventual import eventually from twisted.application import service from twisted.python import log @@ -15,7 +15,7 @@ from allmydata.filetable import GlobalVirtualDrive def sendOnly(call, methname, *args, **kwargs): d = call(methname, *args, **kwargs) def _trap(f): - f.trap(ConnectionLost, ConnectionDone) + f.trap(DeadReferenceError, ConnectionLost, ConnectionDone) d.addErrback(_trap) class Roster(service.MultiService, Referenceable): -- 2.45.2