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