@@ -1838,23 +1838,23 @@ static int init_application(void) {
1838
1838
free (libflutter_engine_path );
1839
1839
1840
1840
if (libflutter_engine_handle == NULL ) {
1841
- if (flutterpi .flutter .runtime_mode == kRelease ) {
1842
- libflutter_engine_handle = dlopen ("libflutter_engine.so.release" , RTLD_LOCAL | RTLD_NOW );
1843
- if (libflutter_engine_handle == NULL ) {
1844
- LOG_ERROR ("Warning: Could not load libflutter_engine.so.release. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1845
- }
1846
- } else if (flutterpi .flutter .runtime_mode == kProfile ) {
1847
- libflutter_engine_handle = dlopen ("libflutter_engine.so.profile" , RTLD_LOCAL | RTLD_NOW );
1848
- if (libflutter_engine_handle == NULL ) {
1849
- LOG_ERROR ("Warning: Could not load libflutter_engine.so.profile. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1850
- }
1851
- } else if (flutterpi .flutter .runtime_mode == kDebug ) {
1852
- libflutter_engine_handle = dlopen ("libflutter_engine.so.debug" , RTLD_LOCAL | RTLD_NOW );
1853
- if (libflutter_engine_handle == NULL ) {
1854
- LOG_ERROR ("Warning: Could not load libflutter_engine.so.debug. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1841
+ if (flutterpi .flutter .runtime_mode == kRelease ) {
1842
+ libflutter_engine_handle = dlopen ("libflutter_engine.so.release" , RTLD_LOCAL | RTLD_NOW );
1843
+ if (libflutter_engine_handle == NULL ) {
1844
+ LOG_ERROR ("Warning: Could not load libflutter_engine.so.release. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1845
+ }
1846
+ } else if (flutterpi .flutter .runtime_mode == kProfile ) {
1847
+ libflutter_engine_handle = dlopen ("libflutter_engine.so.profile" , RTLD_LOCAL | RTLD_NOW );
1848
+ if (libflutter_engine_handle == NULL ) {
1849
+ LOG_ERROR ("Warning: Could not load libflutter_engine.so.profile. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1850
+ }
1851
+ } else if (flutterpi .flutter .runtime_mode == kDebug ) {
1852
+ libflutter_engine_handle = dlopen ("libflutter_engine.so.debug" , RTLD_LOCAL | RTLD_NOW );
1853
+ if (libflutter_engine_handle == NULL ) {
1854
+ LOG_ERROR ("Warning: Could not load libflutter_engine.so.debug. dlopen: %s. Trying to open libflutter_engine.so...\n" , dlerror ());
1855
+ }
1855
1856
}
1856
1857
}
1857
- }
1858
1858
1859
1859
if (libflutter_engine_handle == NULL ) {
1860
1860
libflutter_engine_handle = dlopen ("libflutter_engine.so" , RTLD_LOCAL | RTLD_NOW );
0 commit comments