Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
bcdb5140
Commit
bcdb5140
authored
Jun 05, 2019
by
Mohamed Fenjiro
Browse files
jamiaccount: added saveConfig() to thread pool lock
Change-Id: I3a7cbf15795d1f1f015328054649ab354d9c8716
parent
7b327de0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jamidht/jamiaccount.cpp
View file @
bcdb5140
...
@@ -1490,7 +1490,10 @@ JamiAccount::loadAccount(const std::string& archive_password, const std::string&
...
@@ -1490,7 +1490,10 @@ JamiAccount::loadAccount(const std::string& archive_password, const std::string&
Migration
::
setState
(
accountID_
,
Migration
::
State
::
SUCCESS
);
Migration
::
setState
(
accountID_
,
Migration
::
State
::
SUCCESS
);
setRegistrationState
(
RegistrationState
::
UNREGISTERED
);
setRegistrationState
(
RegistrationState
::
UNREGISTERED
);
}
}
saveConfig
();
dht
::
ThreadPool
::
io
().
run
([
w
=
weak
()]{
if
(
auto
this_
=
w
.
lock
())
this_
->
saveConfig
();
});
loadAccount
(
archive_password
);
loadAccount
(
archive_password
);
}
}
else
{
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment