- re-order private value initialize in constructor
- remove initialize in destructor
Change-Id: I24ca6c12002f73a47f827b0e99467cf1d35866b1
};
DSLibinput::DSLibinput(DSInputPrivate *p_ptr)
- : __udev(nullptr),
- __libinput(nullptr),
+ : __libinput(nullptr),
+ __udev(nullptr),
__libinput_handler(nullptr)
{
inputPrivate = p_ptr;
if (__libinput_handler)
{
ecore_main_fd_handler_del(__libinput_handler);
- __libinput_handler = nullptr;
}
ecore_shutdown();
libinput_unref(__libinput);