🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by William "Bill" A. Dudney Tue, 03 Nov 1992 17:39
NXBundle functionality
#133
Author: William "Bill" A. Dudney
Date: Tue, 03 Nov 1992 17:39
14 lines
1108 bytes
Hi,
Does anyone out here know how to unload a class once it is read in via the  
NXBundle classNamed: method. I tried some of the runtime functions like  
objc_unloadModules() to no avail. 
The NXBundle class will not let you free a bundle that has dynamically  
loaded a class so even after using the runtime function  the bundle I got  
from an initForDirectory: was the one I previously had tried to free. This  
"new" bundle is under the assumption that the class was already loaded.
Any help would be great.

Thanks
Bill Dudney
dudney@pencom.com
NeXTMail preffered.
Re: NXBundle functionality
#1314
Author: andrew
Date: Thu, 05 Nov 1992 06:54
20 lines
1370 bytes
In article <1992Nov3.173929.22960@pencom.com> alt.rush-limbaugh writes:
>Hi,
>Does anyone out here know how to unload a class once it is read in via the  
>NXBundle classNamed: method. I tried some of the runtime functions like  
>objc_unloadModules() to no avail. 
>The NXBundle class will not let you free a bundle that has dynamically  
>loaded a class so even after using the runtime function  the bundle I got  
>from an initForDirectory: was the one I previously had tried to free. This  
>"new" bundle is under the assumption that the class was already loaded.
>Any help would be great.

I'm pretty sure that you cannot unload a class once you load it from
the bundle.


andrew
-- 
andrew@cubetech.com     | "Carpe Nocturn - I get more work done after
Andrew Loewenstern      |  2 a.m. than most people do all day."
Cube Technologies, Inc. |                          - Simson Garfinkle
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads