[Tdbc] Fix UpdateHookCallback released issue (#5528)
authorChangGyu Choi <changyu.choi@samsung.com>
Thu, 12 Oct 2023 00:13:23 +0000 (09:13 +0900)
committerJay Cho <chojoong@gmail.com>
Fri, 27 Oct 2023 02:52:43 +0000 (11:52 +0900)
commit94b15cda0638328f437591ec9fb85d38b847797d
tree041f02ebfa01d4765f32d7501edba19aaf367b02
parentb37a57b953d9def16befc8052fa4012d71ff3cd8
[Tdbc] Fix UpdateHookCallback released issue (#5528)

The issue is that if you don't keep a reference to the UpdateHookCallback,
it may be garbage collected before it is used.

UpdateHookCallback should be referenced during used this.

Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Co-authored-by: pjh9216 <jh9216.park@samsung.com>
src/Tizen.Data.Tdbc.Driver.Sqlite/Tizen.Data.Tdbc.Driver.Sqlite/Connection.cs