1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 04:22:05 +01:00

SMACK-271: Fix deadlock in XMPPConnection while login and parsing stream features (for Tigase servers)

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11227 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Günther Niess 2009-08-29 18:48:56 +00:00 committed by niess
parent 37a00e98d1
commit 87b3f805c7

View file

@ -557,7 +557,7 @@ public class XMPPConnection {
* *
* @return an account manager for this connection. * @return an account manager for this connection.
*/ */
public synchronized AccountManager getAccountManager() { public AccountManager getAccountManager() {
if (accountManager == null) { if (accountManager == null) {
accountManager = new AccountManager(this); accountManager = new AccountManager(this);
} }