@fails-components/webtransport 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt CHANGED
@@ -740,8 +740,6 @@ third_party/quiche/quiche/quic/core/quic_idle_network_detector.h
740
740
  third_party/quiche/quiche/quic/core/quic_interval.h
741
741
  third_party/quiche/quiche/quic/core/quic_interval_deque.h
742
742
  third_party/quiche/quiche/quic/core/quic_interval_set.h
743
- third_party/quiche/quiche/quic/core/quic_legacy_version_encapsulator.cc
744
- third_party/quiche/quiche/quic/core/quic_legacy_version_encapsulator.h
745
743
  third_party/quiche/quiche/quic/core/quic_lru_cache.h
746
744
  third_party/quiche/quiche/quic/core/quic_mtu_discovery.cc
747
745
  third_party/quiche/quiche/quic/core/quic_mtu_discovery.h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fails-components/webtransport",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "A component to add webtransport support (server and client) to node.js using libquiche",
5
5
  "main": "src/webtransport.js",
6
6
  "module": "src/webtransport.js",
@@ -222,7 +222,7 @@ namespace quic
222
222
  void closeInt(int code, std::string &reason)
223
223
  {
224
224
  std::function<void()> task = [this, code, reason]()
225
- { session_->CloseSession(code, reason); };
225
+ { if (session_) session_->CloseSession(code, reason); };
226
226
  eventloop_->Schedule(task);
227
227
  }
228
228