This is motivated by my latest crash on Windows (from yesterday). I extracted an interface to describe two strategies of sending messages: standard input/output and TCP (for debugging). Now there is a handler that accepts this interface and safely queues messages. With this separation CoreMessenger now has fewer responsibilities. I tried to keep these changes as much local as possible. Using Channel<String> has an additional advantage: we can queue messages directly from AWT. |
||
|---|---|---|
| .. | ||
| intellij | ||
| vscode | ||