From: Aki Tuomi Date: Mon, 26 Oct 2015 16:12:35 +0000 (+0200) Subject: Add remark about not removing the throw X-Git-Tag: dnsdist-1.0.0-alpha1~252^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2825%2Fhead;p=thirdparty%2Fpdns.git Add remark about not removing the throw --- diff --git a/pdns/distributor.hh b/pdns/distributor.hh index f15ac22063..707537499f 100644 --- a/pdns/distributor.hh +++ b/pdns/distributor.hh @@ -203,6 +203,7 @@ templatevoid *MultiThreadDistributo delete QD->Q; QD->callback(a); + // do NOT remove this. We want to die on PDNSException throw; } catch(...) {