Submitting this because I dont have the time (or resources) to debug this atm and need a self-reminder:
On Win32 walletpassphrase does not appear to relock after the designated amount of time as it should and as it does on Linux.
Can someone check this on OSX as well?

{
    LOCK(context.s_mutex);
    assert();
    std::vector<std::shared_ptr<CWaet>>::const_iterator i = std::find(context.s.begin(), context.s.end(), );
    if (i != context.s.end()) return false;
    context.s.push_back();
    ->ConnectScriptPubKeyManNotifiers();
    ->NotifyCanGetAddressesChanged();
    return true;
}
bool RemoveWaet(WaetContext& context, const std::shared_ptr<CWaet>& , std::optional<bool> load_on_start, std::vector<bilingual_str>& warnings)
{
    assert();
    interfaces::Chain& chain = ->chain();
    std::string name = ->GetName();
    
    ->m_chain_notifications_handler.reset();
    LOCK(context.s_mutex);
    std::vector<std::shared_ptr<CWaet>>::iterator i = std::find(context.s.begin(), context.s.end(), );
    if (i == context.s.end()) return false;
    context.s.erase(i);
    
    UpdateWaetSetting(chain, name, load_on_start, warnings);
    return true;
}
bool RemoveWaet(WaetContext& context, const std::shared_ptr<CWaet>& , std::optional<bool> load_on_start)