AbstractInvoker is the superclass of all async operation (RemoteOperation,HttpService, etc.).
It always stores by default the result of the last call, than can then be accessible through its lastResult property.
This means the last call result won't be garbage collected, unless clearResult() is called explicitly.
This can be an issue if the remote operation is called one or rarely, and returns large result (Typically, remote operations that are called at application startup to load configuration data).
Add an option so that last call result is not stored.
This options should be added at different levels:
- static class property , to be set in ActionsScript and that will affect all remote operations
- boolean property to be set in mxml , in common mxml mx.rpc.* tags: