Skip to content

Commit

Permalink
Disconnect client after generating session string
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed May 25, 2024
1 parent 2574c8a commit f10f46d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions islands/SessionStringGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@ async function generateSessionString(library: ValidLibrary) { // TODO: report er
account: account_,
string: { apiId: apiId_, ip, dcId, testMode, me, authKey },
});

await client.disconnect();
}

function Code(
Expand Down

0 comments on commit f10f46d

Please sign in to comment.