stephanenicolas / robospice

Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
Apache License 2.0
2.95k stars 545 forks source link

Ensures that the same list of objects will be used within synchronized block #452

Open wlsc opened 8 years ago

wlsc commented 8 years ago

Minor multithreading issue: This patch ensures that the same list of objects will be used within synchronized block in SpiceServiceListenerNotifier class by assigning value to a final List in conctructor for particular notifier