I got the defination:
```
APR_DECLARE_NONSTD(void) apr_terminate(void)
{
    initialized--;
    if (initialized) {
        return;
    }
    apr_pool_terminate();

}
```
reference counting is used. 
so if apr_initialize and apr_terminate are paired and no race condition, the terminate sequence is unimportent. 

i tried to find ```apr_initialize``` in pagespeed but failed, may be the crash is caused by no paired apr_initialize and apr_terminate. 

in my opinion, module can call ```apr_terminate``` at any time after finish using it although there was a suggestation.