reset source back to original method instead of getting the interceptor back in `BdApi.Webpack.modules`
This commit is contained in:
parent
b0c225cab9
commit
d5ce64af12
|
@ -522,6 +522,9 @@ export default class WebpackModules {
|
|||
catch (error) {
|
||||
Logger.stacktrace("WebpackModules", "Could not patch pushed module", error);
|
||||
}
|
||||
finally{
|
||||
modules[moduleId] = originalModule;
|
||||
}
|
||||
};
|
||||
|
||||
Object.assign(modules[moduleId], originalModule, {
|
||||
|
|
Loading…
Reference in New Issue