Handle virtual links in Link._clearPendingRequests

When a request is forwarded from a virtual link to a WebSocket link as
is the case when an instance sends a request to the controller the
origin for the request is a virtual link.  Handle this case in
_clearPendingRequests instead of throwing an assertion error.
This commit is contained in:
Hornwitser committed 2024-01-22 20:48:01 +01:00
1 parent 123148e277
commit 96bd5fb1c2
2 files changed
+12 -5

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
- Fixed controller only plugins throwing an error about missing a config field on startup out when added to hosts.
- Fixed installer incorrectly claiming the options --factorio-dir and --no-download-headless conflicts with each other.
- Fixed a memory leak on every request sent over the WebSocket.
- Fixed assertion error on closing or invalidating a link with messages forwarded from a virtual link.
## Version 2.0.0-alpha.14