Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Sep 19, 2024
1 parent 9155c30 commit 79b8323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/project-editor/flow/components/actions/modbus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { onWasmFlowRuntimeTerminate } from "project-editor/flow/runtime/wasm-wor
import { isArray } from "eez-studio-shared/util";
import {
tcpSockets,
TCPSocket
type TCPSocket
} from "project-editor/flow/components/actions/tcp";

////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions packages/project-editor/flow/components/actions/tcp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ class TCPListenExecutionState {

////////////////////////////////////////////////////////////////////////////////

const tcpSockets = new Map<number, TCPSocket>();
export const tcpSockets = new Map<number, TCPSocket>();
let nextTCPSocketId = 0;

registerObjectVariableType("TCPSocket", {
Expand Down Expand Up @@ -838,7 +838,7 @@ interface TCPSocketConstructorParams {

////////////////////////////////////////////////////////////////////////////////

class TCPSocket {
export class TCPSocket {
constructor(
public type: "server" | "client",
public id: number,
Expand Down

0 comments on commit 79b8323

Please sign in to comment.