mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
fix: xray内核删除用户时重复加锁导致卡死
This commit is contained in:
@@ -39,8 +39,6 @@ func (m *LinkManager) RemoveWriter(writer *ManagedWriter) {
|
||||
}
|
||||
|
||||
func (m *LinkManager) CloseAll() {
|
||||
m.mu.Lock()
|
||||
defer m.mu.Unlock()
|
||||
for w, r := range m.links {
|
||||
common.Close(w)
|
||||
common.Interrupt(r)
|
||||
|
||||
Reference in New Issue
Block a user