Peng, if you are doing any threading in RTM, I recommend using
Services.Application.RunOnThread. It will spawn your thread and catch
and log any exceptions thrown. The most common way for a plugin to
crash Do is to throw an exception on a worker thread where Do cannot
catch it.

Services.Application.RunOnThread (() => {
  throw new Exception ();
});

Will create a thread, throw an exception on it, and Do will not crash.

-- 
after RTM plugin install: Do crashes after first character entered
https://bugs.launchpad.net/bugs/314798
You received this bug notification because you are a member of GNOME Do
Plugins Team, which is subscribed to GNOME Do Plugins.

_______________________________________________
Mailing list: https://launchpad.net/~do-plugins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~do-plugins
More help   : https://help.launchpad.net/ListHelp

Reply via email to