Missing line in RequestManager constructor?

Topics: Mobile Client Software Factory
Jul 15, 2006 at 2:58 AM
originally posted by: larsandreas


I may be wrong, but it looks like the line

this.dispatchCommands = new Queue<Command>();

is missing from the public constructor in the RequestManager class. When using the constructor instead of Instance+Initialize as in the factory method, DispatchRequests fails with a null pointer exception.

I guess you allready knew this, but I thought I'd tell you just in case :)