Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/remix-ide/src/app/files/remixd-handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class RemixdHandle extends WebsocketPlugin {

deactivate () {
if (super.socket) super.deactivate()
this.call('manager', 'deactivatePlugin', 'git')
this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
this.locahostProvider.close((error) => {
if (error) console.log(error)
})
Expand All @@ -49,8 +49,8 @@ export class RemixdHandle extends WebsocketPlugin {
}

async canceled () {
this.call('manager', 'deactivatePlugin', 'git')
this.call('manager', 'deactivatePlugin', 'remixd')
await this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
await this.appManager.deactivatePlugin('remixd')
}

/**
Expand Down
1 change: 1 addition & 0 deletions libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const Workspace = (props: WorkspaceProps) => {

props.localhost.event.register('disconnected', () => {
remixdExplorer.hide()
setWorkspace(props.workspaces.length > 0 ? props.workspaces[0] : NO_WORKSPACE)
})

if (props.initialWorkspace) {
Expand Down