Skip to content
Snippets Groups Projects
Commit 56490b0b authored by Raman Arora's avatar Raman Arora
Browse files

Made method getSelfAccountInstance synchronized.

parent cb8751e0
No related branches found
No related tags found
No related merge requests found
......@@ -875,7 +875,7 @@ private void addMessageReadStatusIfKnown(MessageReadStatus readStatus, Collectio
* @return Self account instance.
* @throws TskCoreException
*/
private AccountFileInstance getSelfAccountInstance() throws TskCoreException {
private synchronized AccountFileInstance getSelfAccountInstance() throws TskCoreException {
if (selfAccountInstance == null) {
selfAccountInstance = getSleuthkitCase().getCommunicationsManager().createAccountFileInstance(selfAccountType, selfAccountId, this.getModuleName(), getAbstractFile());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment