From 488cee3aa8f928c22bb3ea6dbbf096e3022f715a Mon Sep 17 00:00:00 2001 From: Gabriel Handford Date: Mon, 12 Oct 2009 17:03:25 -0700 Subject: [PATCH] Fixing singleton def --- Classes/GHNSInvocationProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/GHNSInvocationProxy.m b/Classes/GHNSInvocationProxy.m index 844c336..8f71ee7 100644 --- a/Classes/GHNSInvocationProxy.m +++ b/Classes/GHNSInvocationProxy.m @@ -183,7 +183,7 @@ @implementation GHNSLogInvocationTracer static GHNSLogInvocationTracer *gGHNSLogInvocationTracer = NULL; + (GHNSLogInvocationTracer *)shared { - @synchronized([self class]) { + @synchronized([GHNSLogInvocationTracer class]) { if (gGHNSLogInvocationTracer == NULL) { gGHNSLogInvocationTracer = [[GHNSLogInvocationTracer alloc] init]; }