Modules don't seem to be unloaded

aejaz.muslim's Avatar

aejaz.muslim

10 Sep, 2011 11:51 PM

Hi,

I am very new to RobotLegs & am interested to apply it for modular
development. In this regard, I tried to find more information & came
across this page,

http://knowledge.robotlegs.org/discussions/problems/320-modular-rob...

I downloaded & built the project & it seemed to be working fine but it
seemed strange that the modules don't seem to get unloaded as the
dispose() function in both the modules M1 & M2 is never called. I put
a trace() statement in M1::dispose() & M2::dispose() but control never
went in those functions & Flash plugin memory size kept on increasing
as multiple instances of the modules get created(I am using Windows
7 BTW).

Is it possible that there is a bug in the example source & something needs
to be called explicitly to get the modules unloaded.

I am attaching the project with my (minor) change. Please let me know if
there is something missing.

Thanks,
Aejaz

  1. Ondina D.F. closed this discussion on 01 Nov, 2011 03:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac