def beforeRemovingFromNetwork(self): self.vi.RemovePickingCallback(self.handlePick) Viewer.beforeRemovingFromNetwork(self) pass