mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 23:52:55 +08:00
regenerate with removed profile
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
"github.com/diamondburned/gotk4/pkg/core/profile"
|
||||
"github.com/go-gst/go-gst/examples/plugins/basetransform/internal/customtransform"
|
||||
"github.com/go-gst/go-gst/pkg/gst"
|
||||
)
|
||||
@@ -48,12 +47,6 @@ func main() {
|
||||
runtime.GC()
|
||||
}
|
||||
|
||||
if profile.Count() > 0 {
|
||||
fmt.Fprintf(os.Stderr, "Memory leak detected: %d objects still tracked\n", profile.Count())
|
||||
} else {
|
||||
fmt.Fprintln(os.Stderr, "No memory leaks detected")
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user