Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9dc64c

Browse filesBrowse files
committed
fix: remove hanging clones (#109)
1 parent 595c508 commit c9dc64c
Copy full SHA for c9dc64c

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎pkg/services/cloning/mode_base.go

Copy file name to clipboardExpand all lines: pkg/services/cloning/mode_base.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ func (c *baseCloning) DestroyClone(cloneID string) error {
208208
}
209209

210210
if w.session == nil {
211-
return errors.New("clone is not started yet")
211+
c.deleteClone(cloneID)
212+
213+
return nil
212214
}
213215

214216
go func() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.