also probably there should be locks around the init? because I do expose the SyncManager to app where you can call sync, so callsite can probably call init() again and fck the thing up
e
edwardwongtl
10/02/2018, 3:58 AM
In that case, I think init block is better then a normal init function.