You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
I found a problem, the following is my attempt to example what I came across, this problem occured because _instance is set after the constructor e.t.c. of the bean has executed.
(this code probably wont compile as i am typeing it from my head)..
In this case, worker2 creates a database helper and worker1
worker1 will also create a new databasehelper..
If _instance was set in the constructor to "this", then we would only get one instance of databasehelper.
I had a go at making the changes myself, but after making the change, i couldnt compile the source through some error unleated to where i had made changes.