Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ansiwen committed Sep 21, 2023
1 parent c97ca5c commit 305b88e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rados/rados.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package rados
import "C"

import (
"runtime"
"unsafe"

"github.com/ceph/go-ceph/internal/log"
Expand Down Expand Up @@ -74,7 +73,7 @@ func newConn(user *C.char) (*Conn, error) {
return nil, getError(ret)
}

runtime.SetFinalizer(conn, freeConn)
// runtime.SetFinalizer(conn, freeConn)
return conn, nil
}

Expand Down Expand Up @@ -107,7 +106,7 @@ func NewConnWithClusterAndUser(clusterName string, userName string) (*Conn, erro
return nil, getError(ret)
}

runtime.SetFinalizer(conn, freeConn)
// runtime.SetFinalizer(conn, freeConn)
return conn, nil
}

Expand Down

0 comments on commit 305b88e

Please sign in to comment.