[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Crucial.initLibraryItems wipes out the global Library




previously it was always an only called at startup.  it actually doesn't make sense to call initClassTree if it isn't part of the full class initialization sequence.
once I broke it out into an optional method it doesn't make sense.


yes, go ahead and remove that line
thankx



On Fri, Dec 12, 2008 at 2:36 PM, James Harkins <jamshark70@xxxxxxxxx> wrote:
Class.initClassTree(Library);

The trouble is, I store MixerChannelDefs in the Library also. So if I try to create a mixerchannel after running Crucial.initLibraryItems, it fails.


If initLibraryItems is not run at startup, it isn't safe to assume that nothing else is in the library and that you can then blow it away.


 

May I remove this line?

Thanks.
hjh



: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman