Running Backgroundable Task at Project Close


I have a Task.Backgroundable that I run periodically in my plugin to upload log data. I'm also running this at project close, but when this happens the background notification leaps into the foreground covering the project selection page.

Is there any way around this, other than not running the task at project close? (Meaning that data may be left on the client for some undetermined amount of time. Not ideal.)

1 comment
Comment actions Permalink

There should be as little (read: none) possibly time-consuming activity on project close, especially not if possibly non-available resources like networks are used. So I'd suggest to resume background sending on next IDE start.


Please sign in to leave a comment.