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