Recent

Author Topic: Uniqueinstance error on linux  (Read 4316 times)

Dibo

  • Hero Member
  • *****
  • Posts: 1057
Uniqueinstance error on linux
« on: January 10, 2010, 02:47:11 pm »
Hi,
I have this problem. Main form have uniqueinstance component. When I close the program normally everything is ok, but when I kill the process (from Lazarus - CTRL + F2 or directly with ubuntu) I can't run program again. This component thinks that one instance of my program is still running but is not, system monitor shows nothing. But when I change unique ID in uniqueinstance control or rename the output file then I can run program. Someone knows some alternative to uniqueinstance or knows how to fix this problem?
Regards.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Uniqueinstance error on linux
« Reply #1 on: January 10, 2010, 09:59:59 pm »
This is a limitation of the underlying IPC used by UniqueInstance (SimpleIPC) under unix. There are plans to re implement using DBUS which would solve the problem. No time for now.

nicolas_lazarus

  • New Member
  • *
  • Posts: 42
Re: Uniqueinstance error on linux
« Reply #2 on: February 10, 2011, 04:36:08 pm »
Hi all !


Any news about this issue ?


Regards,


Nicolas

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: Uniqueinstance error on linux
« Reply #3 on: April 18, 2011, 03:26:36 am »

 

TinyPortal © 2005-2018