mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 11:06:27 +01:00
commit
cb476944b3
|
@ -135,7 +135,7 @@ func GetApplications() []Application {
|
||||||
// the return value is read-only but it can be casted to *iris.Application.
|
// the return value is read-only but it can be casted to *iris.Application.
|
||||||
apps := make([]Application, 0, len(registeredApps))
|
apps := make([]Application, 0, len(registeredApps))
|
||||||
copy(apps, registeredApps)
|
copy(apps, registeredApps)
|
||||||
mu.RLock()
|
mu.RUnlock()
|
||||||
|
|
||||||
return apps
|
return apps
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user