# HG changeset patch # User cin # Date 2014-04-07 14:17:00 # Node ID dafaadca5b9f27ead926b8ffb3565d753e8f6722 # Parent 2fad2d1f4b03c217a54a1a5ca01c3317ad830680 minor cleanup diff --git a/Implab.suo b/Implab.suo index 2e658bab65aab728cc1f2d27570c91f2140bb05f..8db46086f47396d82a71e4463e1728188d310d43 GIT binary patch literal 71168 zc%1D$3v?URmCuQtIEiUO8Uh3;h6W13QuLP`lO~pAB?dcjBF9OC^BKt_Td`~jNp|88 zpaojmQc6n-ZRtW%!fy*Dg+d4cN;c&ay4e72vs+rWOWF3o>2}lf09lqU@!tDpMjDMq zni>6U89krt`RL8N?|a|9_uY5jYp_Xi>gpC^;asnKafMo#70agNB0dOTiCqO&E8h|!{4uDkvs{y8*aWZ< zzz?t);A;Rre!O7Z<{Zb)$9c5>Y7&OOIJ89z8H8(;j1VnhF7z59t@#RZfAYW=T0Xn_ z)heVJOYPjd4!{^DTSzNl55Qdu*`^Wyq?9^S``s-5+DRA^BmK~xLAb`DZDWLmJPGe( z3hB%zld5nWXu*#(v^If1NFq=Rh%?6LfrYy8!+$rxF!XQ(?fvp$0pLfxpX2kO20zkm zAtLrW1Z)$e12v*||H$8q$3M~oVfwet7E_!r(I$c=v-b4UY_b|4K9#y`f#@!tw?E#bz$kj{04qYHSyiofFc z@8s{12COB?@sHQ5_$$%^qyd}wXNGVz0PlPFYkivZt!V8I86bp93l794SX799kP3>D^46=?q3<`i|h>Ama zeZf#LKBDiyoW|gdpS`S&-mp>p&KnO$SuE#_BtMl$_2K;Ef?2K`dR-XkNI%?l0R0NV zA47To^w599KwBb|s&xZh*+%J1l+qX<^qyY$!{@aSBM#K351y20ABOrI=r8gYbNG8H zekTA6dFY3{hN1W4oRlpem*jvSd7OwXq6@(H-Y2OUP{EvJ{7o7!%X#cH;dWge)4{eKjIv45zx*?Ve{^PfC zxW;HrA&>RVlIH=(O9(IoXbyy&2+!juN8H=-kfR{wZ$dOaOLLT8m{j0*T0*|`8~LYp zsEH7zH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0RiDbLPi567ebuLYC|aTSx>rtxtE{3_R#7UeD5YOTnHV!n`D!#Ps}Yseh71C&Wz$k>S5t~*H(ks%>GGkM+E#$dwOp0elX5KG_}fcSirJx}HLqyR$C~a} zwB{A9d3lwtqBXB*%_~~-!gz=+Udm%pi%R}yEGo`FTLxD=PX_HtvPR|u?zcI~-z(!+ z=l@R#YVadx@}X+{is#=|wGz%Vi(35Xd++~L<5%>*q}l&aJHSJ!uYyZc9@Bm2VXwX* zEqcY%Yx#J3mG`Ss@!zcEXQJZ2xiYHDZB$qMcc%OA)OsdzE?$pbP?b*R^S_JbEh;nJ zYshgNRnC9Uy&sLI_E+{lsqFvTL+~6~_53f|7k!DpSH`c*e>cIkSp)v{M7{rUa}mzp X-AuSMSk>USs62m23x1X){g3}YZQ_r% diff --git a/Implab/Safe.cs b/Implab/Safe.cs --- a/Implab/Safe.cs +++ b/Implab/Safe.cs @@ -7,14 +7,11 @@ namespace Implab { public static class Safe { - public static void Dispose(ref T obj) where T : class + public static void Dispose(T obj) where T : class { var disp = obj as IDisposable; if (disp != null) - { disp.Dispose(); - obj = default(T); - } } } }