mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
fix bug: RWMutex not unlocked
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user