Hi all,
i'm developing a tracking application. I think that there's a memory
leak issue when a rpc is called inside a timer repeating.
the code is semplified as follow:
public void onModuleLoad() {
startRefreshInfoSupp();
}
where the startRefreshInfoSupp is
final AsyncCallback asyncCallback = new AsyncCallback() {
public void onFailure(Throwable caught) {
......
}
public void onSuccess(Object result) {
GWT.log("Ricevute seguenti informazioni
supplementari: "+(String) result, null);
..
}
}
}
};
Timer t = new Timer() {
public void run() {
proxyAsync.getServiceWsNaviInMare().
getInfoSupp(asyncCallback);
}
};
t.scheduleRepeating(MainEntryPoint.refreshLastUpdatePeriod);
}
this code as is, make the memory usage increase and increase.
I'm working with gwt 1.5.3 and ie7
no problem on ff
have you got any idea? any known issue?
pls help, thx
have a nice day,
Michela
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---