We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764323b commit 720d5ccCopy full SHA for 720d5cc
1 file changed
main.go
@@ -204,7 +204,7 @@ var libraryPID int = -1
204
205
func getDynamicLibrary() unsafe.Pointer {
206
if libraryHandle == nil || libraryPID == -1 || libraryPID != os.Getpid() {
207
- fmt.Println("Fork detected. Reloading submodule.")
+ fmt.Printf("Fork detected. Having process id %d now. Reloading submodule.\n", os.Getpid())
208
if libraryHandle != nil {
209
C.dlerror()
210
C.dlclose(libraryHandle)
0 commit comments