!reloadmodule at startup Thread last updated on 2003-10-10 20:10:37

Posted by member 7223 on 2003-10-06 09:29:38

Hi,
.24.7b4 still crash when performing something like:
*script start !ifeq taskmodule "1" |netreloadmodule modulename

humm, I guess it happen with regular !reloadmodule, too

Note: As you already might know,
*script bang !bang
*script exec !netreloadmodule modulename
*script ~bang

works fine.

Posted by member 99 on 2003-10-06 11:52:49 link

Ooh...

After finding a problem with the core not allowing modules to be loaded while it was loading modules, I never thought that I might have the same problem with NLM... :6

Posted by member 99 on 2003-10-10 12:49:24 link

Well, it looks like this should work as far as NLM is concerned, although it currently will cause a memory leak.

Have you actually tried it with !reloadmodule? If that doesn't work either then I won't worry too much and just fix the leak.

Posted by member 7223 on 2003-10-10 15:17:14 link

I've just tried
*script start !reloadmodule $modulesdir$popup2.dll

It works if I load it before (with *netloadmodule) or not!
Then, I tried
*script start !reloadmodule popup2-2.0

and I get an error box about netloadmodule2: Exception during module initialization. But everything seems to be right (popup have been loaded and the theme works)
Doing the same with traytasks-1.7 makes litestep very buggy (no crash this time but no response)
I don't know why it works better this time (no crash)

Posted by member 99 on 2003-10-10 20:10:37 link

Ok, that makes sense, but I was hoping it would not be the case. I guess I'll have to actually test it now. :/