w3c / w3c/wot-scripting-api

Consumer cleanup behavior

Open
#395 8 comments 0 reactions 1 assignee View on GitHub

@danielpeintner is already working on this.

Since May 2, 2022.

API-improvement priority: low use case
Dominant language
HTML
Stars
45
Forks
21
PR merge metrics
No merged PRs in 30d

Description

@relu91 raised concerns int a call w.r.t. cleaning up client connections

We have a problem in node-wot that CoAP clients are not being closed which causes hanging
… should we add something like a destroy method to the ConsumedThing?
… socket is currently not being closed. Problem is not limited to CoAP, however, also relevant for WebSockets, for example

see https://www.w3.org/2022/03/28-wot-script-minutes.html#t05

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.