do-plugins team mailing list archive
-
do-plugins team
-
Mailing list archive
-
Message #00628
Re: [Bug 314798] Re: after RTM plugin install: Do crashes after first character entered
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.
References