示例#1
0
func main() {
	flag.Parse()
	for i := 0; i < loops; i++ {
		parseArchive(archive)
	}
	freeOSMemory()
	gmime.Shutdown()
	freeOSMemory()
}
示例#2
0
// Special function, used for shutdown gmime and free all memory to OS
func ExampleZZZShutdown() {
	fmt.Println("cleanup")
	debug.FreeOSMemory()
	gmime.Shutdown()
	// Output: cleanup
}