Skip to content

Commit 19c88de

Browse files
committed
fix(PyEvJosev): Calling shutdown function to shutdown the java gateway after every session
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
1 parent 1801c65 commit 19c88de

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ libcurl:
3535
# Josev
3636
Josev:
3737
git: https://github.com/EVerest/ext-switchev-iso15118.git
38-
git_tag: ec48efc4034a5e52139f05b88ac1dcdd61583639
38+
git_tag: 6099df7283a00cde3178401fb1655a533dc213ce
3939
cmake_condition: "EVEREST_ENABLE_PY_SUPPORT AND EVEREST_DEPENDENCY_ENABLED_JOSEV"
4040
# linux_libnfc-nci for RFID
4141
libnfc-nci:

modules/EV/PyEvJosev/module.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,16 @@ async def evcc_handler_main_loop(module_config: dict):
3838
evcc_config = EVCCConfig()
3939
patch_josev_config(evcc_config, module_config)
4040

41+
exi_codec = ExificientEXICodec()
42+
4143
await EVCCHandler(
4244
evcc_config=evcc_config,
4345
iface=iface,
44-
exi_codec=ExificientEXICodec(),
46+
exi_codec=exi_codec,
4547
ev_controller=SimEVController(evcc_config),
4648
).start()
4749

50+
exi_codec.shutdown()
4851

4952
class PyEVJosevModule():
5053
def __init__(self) -> None:

0 commit comments

Comments
 (0)