mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 04:53:28 +02:00
only wait for state change for migration once
This commit is contained in:
parent
430d1351db
commit
6ec55dc746
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ function promptToMigrateContent() {
|
|||
}, function(index) {
|
||||
if (index == 0) {
|
||||
if (homeServer.state != ProcessGroupStates.STOPPED) {
|
||||
homeServer.on('state-update', function(processGroup) {
|
||||
homeServer.once('state-update', function(processGroup) {
|
||||
if (processGroup.state == ProcessGroupStates.STOPPED) {
|
||||
performContentMigration();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue