Stability fixes, profile path and more.
Fixed a bunch of data races which should lead in stability improvements. Added possibility to specify game profile path within profile item. Added Urban Terror 4.3.2.
This commit is contained in:
2
cache/cache_servers.go
vendored
2
cache/cache_servers.go
vendored
@@ -89,7 +89,6 @@ func (c *Cache) FlushServers(data map[string]string) {
|
||||
}
|
||||
}
|
||||
|
||||
Database.Unlock()
|
||||
tx := Database.Db.MustBegin()
|
||||
fmt.Println("Adding new servers...")
|
||||
if len(new_servers) > 0 {
|
||||
@@ -106,7 +105,6 @@ func (c *Cache) FlushServers(data map[string]string) {
|
||||
}
|
||||
|
||||
tx.Commit()
|
||||
Database.Lock()
|
||||
fmt.Println("Done")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user