diff --git a/Source/NSBundle.m b/Source/NSBundle.m index b4b4b400a..209f02334 100644 --- a/Source/NSBundle.m +++ b/Source/NSBundle.m @@ -233,7 +233,7 @@ _bundle_load_callback(Class theClass, Category *theCategory) { /* Need to make this recursive since both mainBundle and initWithPath: want to lock the thread */ - lock = [NSRecursiveLock new]; + load_lock = [NSRecursiveLock new]; } }