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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7da873e9210bdaff73e9b436a4d1657f19bae600;p=pdns Add remark about not removing the throw --- diff --git a/pdns/distributor.hh b/pdns/distributor.hh index f15ac2206..707537499 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(...) {