Skip to content

Instantly share code, notes, and snippets.

@james4k
Created August 26, 2012 21:57
Show Gist options
  • Save james4k/3483832 to your computer and use it in GitHub Desktop.
Save james4k/3483832 to your computer and use it in GitHub Desktop.
=== RUN TestSimple
*wsevents_test.SimpleHandler has 4 methods
reflect.Method{Name:"OnClose", PkgPath:"", Type:(*reflect.commonType)(0x161020), Func:reflect.Value{typ:(*reflect.commonType)(0x161020), val:(unsafe.Pointer)(0x26b02), flag:0x130}, Index:0}
reflect.Method{Name:"OnError", PkgPath:"", Type:(*reflect.commonType)(0x161020), Func:reflect.Value{typ:(*reflect.commonType)(0x161020), val:(unsafe.Pointer)(0x26a76), flag:0x130}, Index:1}
reflect.Method{Name:"OnOpen", PkgPath:"", Type:(*reflect.commonType)(0x160fa8), Func:reflect.Value{typ:(*reflect.commonType)(0x160fa8), val:(unsafe.Pointer)(0x26a55), flag:0x130}, Index:2}
reflect.Method{Name:"OnTestMsg", PkgPath:"", Type:(*reflect.commonType)(0x161098), Func:reflect.Value{typ:(*reflect.commonType)(0x161098), val:(unsafe.Pointer)(0x26b8e), flag:0x130}, Index:3}
read
selecting
firing wsevents.jsonObj{"name":"testmsg", "args":[]interface {}{"test 123![]{}@"}}
before msg send
** and it just blocks here indefinitely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment