neoneo-go/pkg/rpcclient
Roman Khimov 288dee8871 rpcclient: close subscriber channels on wsReader exit
The reader is about to exit and it will close legacy c.Notifications, but it
will leave subscription channels at the same time. This is wrong since these
channels will no longer receive any new events, game over.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2023-08-01 17:29:14 +03:00
..
actor config: use uint32 for validators/committee members count 2023-08-01 17:22:28 +03:00
gas rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
invoker rpc: add compat tests for RPC* interfaces and Client implementations 2022-10-24 06:09:36 +03:00
management rpcclient/management: add new methods 2022-12-02 10:57:05 +03:00
neo rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
nep11 rpcclient/nep11: make DivisibleWriter part reusable 2022-11-07 10:44:39 +03:00
nep17 rpcclient: add examples for nep11/nep17/neo 2022-09-08 14:33:04 +03:00
neptoken neptoken: add Info to replace old NEPXXTokenInfo methods 2022-08-29 22:52:27 +03:00
nns nns: it's NEP-11, so make NEP-11 methods available too 2022-09-08 14:33:04 +03:00
notary actor: don't abort waiter on "already exists" error 2022-11-23 10:07:37 +03:00
oracle rpcclient: add oracle package for OracleContract 2022-08-17 11:42:20 +03:00
policy rpcclient: add policy package for the PolicyContract contract 2022-08-16 12:43:25 +03:00
rolemgmt unwrap: add ArrayOfPublicKeys() 2022-08-17 12:45:46 +03:00
unwrap unwrap: add a complete set of simple array unwrappers 2022-11-14 13:01:13 +03:00
client.go rpcclient: expose endpoint (fixes #2912) 2023-02-15 08:29:44 +01:00
client_test.go rpcclient: expose endpoint (fixes #2912) 2023-02-15 08:29:44 +01:00
doc.go rpcclient: update documentation, mention subpackages 2022-09-08 14:33:04 +03:00
doc_test.go rpc/client: move to pkg/rpcclient 2022-07-21 22:39:53 +03:00
helper.go rpcclient: move result processing code into unwrap package 2022-08-09 17:38:47 +03:00
local.go rpcclient: add Internal client for direct RPC server calls 2023-02-16 23:49:58 +03:00
local_test.go rpcclient: add Internal client for direct RPC server calls 2023-02-16 23:49:58 +03:00
native.go Merge pull request #2665 from nspcc-dev/notary-rpcclient 2022-08-30 12:43:13 +03:00
nep.go rpcclient: move result processing code into unwrap package 2022-08-09 17:38:47 +03:00
nep11.go wallet: add ScriptHash() to Account 2022-09-02 14:43:34 +03:00
nep17.go wallet: add ScriptHash() to Account 2022-09-02 14:43:34 +03:00
policy.go rpcclient; deprecate more methods 2022-09-08 14:33:04 +03:00
rpc.go rpcclient: always return tx hash from sendrawtransaction 2022-11-22 15:18:37 +03:00
rpc_test.go result: drop deprecated Magic and StateRootInHeader from Version 2022-11-10 16:32:49 +03:00
wsclient.go rpcclient: close subscriber channels on wsReader exit 2023-08-01 17:29:14 +03:00
wsclient_test.go rpcclient: close subscriber channels on wsReader exit 2023-08-01 17:29:14 +03:00