Make reverse channel transient

This commit is contained in:
Rene Pfeuffer
2019-12-18 12:48:11 +01:00
parent a5dc2828ad
commit edcc036f62

View File

@@ -249,5 +249,7 @@ public final class BrowseCommandRequest extends FileBaseCommandRequest
/** browse file objects recursive */
private boolean recursive = false;
private final Consumer<BrowserResult> updater;
// WARNING / TODO: This field creates a reverse channel from the implementation to the API. This will break
// whenever the API runs in a different process than the SPI (for example to run explicit hosts for git repositories).
private final transient Consumer<BrowserResult> updater;
}