Skip to content

Commit ef446f6

Browse files
committed
Do not wait for IDE job cancel
This lets us skip the launch so it should work when running from an IDE instead of Gateway.
1 parent 68ff70c commit ef446f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,7 @@ class CoderLocateRemoteProjectStepView(private val setNextButtonEnabled: (Boolea
356356
override fun onPrevious() {
357357
super.onPrevious()
358358
logger.info("Going back to Workspace view")
359-
cs.launch {
360-
ideResolvingJob.cancelAndJoin()
361-
}
359+
ideResolvingJob?.cancel()
362360
}
363361

364362
override fun dispose() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy