I am using the internet (http.h) methods on a native app for Gear S3.
I am able to create a session, create a transaction, set callbacks on the transaction, and then submit the transaction. However, I don't know where I need to destroy the transaction via http_transaction_destroy()? When I put it in the transation_complete callback, it causes a segmentation fault:
Program received signal SIGSEGV, Segmentation fault.
0xf7277d24 in ?? () from C:\tizen-studio\platforms\tizen-3.0\wearable\rootstraps\wearable-3.0-device.core/lib/libc.so.6
If I don't destroy the transaction handle, it seems to work, but I am guessing this will cause the transaction handles to continuously climb as I execute new transactions.
Thanks,
Kim