fixed static
This commit is contained in:
parent
e005e3856e
commit
9d59234e9a
|
|
@ -28,7 +28,7 @@ public abstract class ViewControllerActivity<TLogic extends Logic> extends BaseA
|
|||
* @return Object which represents application's logic.
|
||||
*/
|
||||
public TLogic getLogic() {
|
||||
synchronized (getClass()) {
|
||||
synchronized (ViewControllerActivity.class) {
|
||||
if (reference == null) {
|
||||
reference = Logic.getInstance(this, getLogicClass());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue