diff options
author | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2021-03-22 11:54:16 +0900 |
---|---|---|
committer | Damian Hobson-Garcia <dhobsong@igel.co.jp> | 2021-03-31 10:24:48 +0900 |
commit | 2213b208db1d4d2a8cdcb52f50a154b0c9ea2512 (patch) | |
tree | 813254108a519a28430746dca668307bea6139fd /libdlmclient/test | |
parent | 0167eeb91413642e09cca3aaa5602050223b035f (diff) |
Add option to hold lease on unexpected disconnectsandbox/dhobsong/keep-lease-on-disconnect
If a client application crashes while owning a lease,
the lease will automatically be revoked and all references
freed to make it available for another (or the restarted
original) client to claim and continue display. This will
cause the screen to blank while the lease is unowned.
Add an option to revoke the lease, but keep the reference to
the lease descriptor, so that the screen does not blank while
unowned.
This only has effect when a client exits without calling the
`dlm_release_lease` function. Otherwise the lease is revoked
and the descriptor dereferenced, just as before.
Bug-AGL: SPEC-3862
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I3fc2c8fde4118b6e298ba31807fd5fa4766a97dd
Diffstat (limited to 'libdlmclient/test')
0 files changed, 0 insertions, 0 deletions