(file pluginFile, host *Host)
| 1150 | } |
| 1151 | |
| 1152 | func (l *blockingOpenLoader) Open(file pluginFile, host *Host) (pluginClient, error) { |
| 1153 | l.startOnce.Do(func() { close(l.started) }) |
| 1154 | <-l.release |
| 1155 | return l.inner.Open(file, host) |
| 1156 | } |
| 1157 | |
| 1158 | func newBlockingOpenHost(t *testing.T) (*Host, *config.Config, <-chan struct{}, func()) { |
| 1159 | t.Helper() |