Ticket #1852 (closed defect: duplicate)
Don't allow launching gajim twice
| Reported by: | heretik@… | Owned by: | asterix |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | roster | Version: | 0.9.1 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| OS: | Blocking: |
Description
Following our discussion on gajim chatroom, here is the bug report :
When we launch gajim twice, it keeps disconnecting and reconnecting.
The solution is, when we launch gajim : - If gajim crashed (detected in gtkexcepthook): remove the pid file, and run normally - else :
- if pid file exists : error message : "gajim is already running"; exit
- else : run normally
asterix: the pb is that I (and all other devs) always run several instances with different accounts
solution : an advanced option for developpers to allow running multiple instances
asterix: yes good idea
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
