Merge pull request #1753 from o8x/master

fix bug: #1752
This commit is contained in:
Gerasimos (Makis) Maropoulos 2021-04-13 21:03:39 +03:00 committed by GitHub
commit cb476944b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ func GetApplications() []Application {
// the return value is read-only but it can be casted to *iris.Application.
apps := make([]Application, 0, len(registeredApps))
copy(apps, registeredApps)
mu.RLock()
mu.RUnlock()
return apps
}