v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
654 stars 58 forks source link

using yad notebook with 2 yad list tabs #191

Open mackendw opened 2 years ago

mackendw commented 2 years ago

I have a yad dialog setup as a notebook. The notebook has 2 yad lists in it. I create the key used to join the 2 lists to the notebook using:

key=$RANDOM %100000 + 1 | bc

this key is then used in each list and the notebook to make the connection.

When the user is presented with the notebook and clicks the button to exit, I'm seeing the shared memory key persist in the system after it is closed.

Is this a bug?

Also, the application in use on the servers where this dialog is run use a LOT of shared memory, message queue and semaphores.

How can I ensure that I'm not using a shmkey value that is not already in use?

mackendw commented 2 years ago

is the cleanup of the shared memory segment a task that MUST be done using ipcrm outside the dialog?