diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -426,6 +426,9 @@ int main(int argc, char *argv[]) | |||
| 426 | if (prefs_common.auto_unload_master_password && master_password_active()) { | 426 | if (prefs_common.auto_unload_master_password && master_password_active()) { |
| 427 | debug_print("Auto unloading master password\n"); | 427 | debug_print("Auto unloading master password\n"); |
| 428 | unload_master_password(); | 428 | unload_master_password(); |
| 429 | /* call this function every 10th minute in case a reload took place */ | ||
| 430 | /* TODO: Perhaps a more elegant solution could be developed */ | ||
| 431 | g_timeout_add(1000 * 60 * 10, unload_master_password, NULL); | ||
| 429 | } | 432 | } |
| 430 | #endif | 433 | #endif |
| 431 | 434 | ||
