mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Delete pending requests
This commit is contained in:
parent
cca211de0e
commit
bdc1721870
@ -621,6 +621,7 @@ func (h *WebUiHandler) handleLoading(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
h.mutex.Lock()
|
h.mutex.Lock()
|
||||||
doneSignal := h.pendingRequests[pendingId]
|
doneSignal := h.pendingRequests[pendingId]
|
||||||
|
delete(h.pendingRequests, pendingId)
|
||||||
h.mutex.Unlock()
|
h.mutex.Unlock()
|
||||||
|
|
||||||
redirUrl := <-doneSignal
|
redirUrl := <-doneSignal
|
||||||
|
Loading…
Reference in New Issue
Block a user