Commit 7e40dfd
committed
Merge #80: Client: Drop script subscriptions to free lock
aa0b957 Client: Drop script subscriptions to free lock (Sebastian Kung)
Pull request description:
This fixes a supposed deadlock when the reader thread receives a script subscription notification from the server before it receives a subscribing response.
I am not 100% sure if this actually fixes a deadlock, but I ran into this in a regtest setup where a bunch of subscriptions were made, while some script notifications could be processed in parallel. My test failed sporadically with the electrum client locking up completely and adding this drop made the tests consistently pass again.
ACKs for top commit:
afilini:
ACK aa0b957, makes a lot of sense!
Tree-SHA512: b1bbea71fb56a189081b9aa602f768ef50d349a6ad6f3a3f64264259954a541fee85cad84461afeafe1ba17e11950c18fdcadb7c47a5fa1b3ce2fa2ac1cdcdc01 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| 830 | + | |
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| |||
0 commit comments