Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
leblowl committed May 7, 2024
1 parent a3951e0 commit bf0ebb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class ConnectionsManagerService extends EventEmitter implements OnModuleI
}

public async closeAllServices(options: { saveTor: boolean } = { saveTor: false }) {
this.closeSocket()
await this.closeSocket()

if (this.tor && !options.saveTor) {
this.logger('Killing tor')
Expand Down Expand Up @@ -285,7 +285,7 @@ export class ConnectionsManagerService extends EventEmitter implements OnModuleI
public async leaveCommunity() {
this.logger('Running leaveCommunity')

this.closeSocket()
await this.closeSocket()

if (this.storageService) {
this.logger('Stopping OrbitDB')
Expand Down

0 comments on commit bf0ebb5

Please sign in to comment.